Branch: refs/heads/master
Home: https://github.com/django/django
Commit: 76aecfbc4b49f5ab0613cccff1df6fab03253fab
https://github.com/django/django/commit/76aecfbc4b49f5ab0613cccff1df6fab03253fab
Author: Claude Paroz <[email protected]>
Date: 2013-03-23 (Sat, 23 Mar 2013)
Changed paths:
M django/db/backends/__init__.py
M django/db/backends/mysql/base.py
M django/db/backends/oracle/base.py
M django/db/backends/sqlite3/base.py
M django/db/backends/util.py
M docs/topics/db/sql.txt
M tests/backends/tests.py
Log Message:
-----------
Fixed #9055 -- Standardized behaviour of parameter escaping in db cursors
Previously, depending on the database backend or the cursor type,
you'd need to double the percent signs in the query before passing
it to cursor.execute. Now cursor.execute consistently need percent
doubling whenever params argument is not None (placeholder substitution
will happen).
Thanks Thomas Güttler for the report and Walter Doekes for his work
on the patch.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.