]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Consult compiled paramstyle on execute_compiled
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 15 Mar 2017 14:15:12 +0000 (10:15 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 15 Mar 2017 14:40:30 +0000 (10:40 -0400)
commit7b056709c0f8a37744d18f37d40f94fa30c50c71
tree80570e7cffab0b5553954760fa5e608f5820c535
parent0a35ccc6bd1acaa91f32c8e0140000b19ae85e14
Consult compiled paramstyle on execute_compiled

Fixed bug where in the unusual case of passing a
:class:`.Compiled` object directly to :meth:`.Connection.execute`,
the dialect with which the :class:`.Compiled` object were generated
was not consulted for the paramstyle of the string statement, instead
assuming it would match the dialect-level paramstyle, causing
mismatches to occur.

Change-Id: I114e4db2183fbb75bb7c0b0641f5a161855696ee
Fixes: #3938
doc/build/changelog/changelog_12.rst
lib/sqlalchemy/engine/default.py
test/engine/test_execute.py