Closed Bug 478034 Opened 15 years ago Closed 7 years ago

Always use bind params instead of printf assignments in SQL queries

Categories

(Toolkit :: Places, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mak, Unassigned)

Details

follow-up to bug 477739

We should avoid %d, %ld, %lld and always use bind parameters when possible in SQL queries, that ensures we can't wrongly assign and cause endianness problems.
We're doing good, the only cases where we do this is where there's no other way.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.