]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- mysql, postgres: "%" signs in text() constructs are automatically escaped to "%%".
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 2 Jan 2009 21:24:17 +0000 (21:24 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 2 Jan 2009 21:24:17 +0000 (21:24 +0000)
commit5bc1f17cb53248e7cea609693a3b2a9bb702545b
treee31a0341ecacd3115612fcebfc904f1549535465
parent2f2d84fbb14f1282677de8fc1186da8f41081214
- mysql, postgres: "%" signs in text() constructs are automatically escaped to "%%".
Because of the backwards incompatible nature of this change,
a warning is emitted if '%%' is detected in the string.  [ticket:1267]
CHANGES
lib/sqlalchemy/databases/mysql.py
lib/sqlalchemy/databases/postgres.py
lib/sqlalchemy/sql/compiler.py
test/sql/query.py