]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed unicode support for PyMySQL when using an "executemany"
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 22 Mar 2015 23:05:22 +0000 (19:05 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 22 Mar 2015 23:25:13 +0000 (19:25 -0400)
commitdb853306c40437a8ad3dc9f510865820a941c3b5
treed7f28608007ebd54cf19b56e87f9e963c67734d8
parentddab2d2351fc79138dcbe650c12f2e153dae4751
- Fixed unicode support for PyMySQL when using an "executemany"
operation with unicode parameters.  SQLAlchemy now passes both
the statement as well as the bound parameters as unicode
objects, as PyMySQL generally uses string interpolation
internally to produce the final statement, and in the case of
executemany does the "encode" step only on the final statement.
fixes #3337
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/dialects/mysql/pymysql.py
test/sql/test_types.py