]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed bug in :func:`.tuple_` construct where the "type" of essentially
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 28 Feb 2014 00:54:49 +0000 (19:54 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 28 Feb 2014 00:57:20 +0000 (19:57 -0500)
commit3ba1385520a047f131a939bfaf061f0531b973f6
tree22cc3d1bb1c0b18b33511ed46db3433215229736
parent3dca38608bde6fe91b7f5b73bf5bc1e06247aff7
- Fixed bug in :func:`.tuple_` construct where the "type" of essentially
the first SQL expression would be applied as the "comparison type"
to a compared tuple value; this has the effect in some cases of an
inappropriate "type coersion" occurring, such as when a tuple that
has a mix of String and Binary values improperly coerces target
values to Binary even though that's not what they are on the left
side.  :func:`.tuple_` now expects heterogeneous types within its
list of values.
fixes #2977

Conflicts:
lib/sqlalchemy/sql/elements.py
test/sql/test_operators.py
doc/build/changelog/changelog_08.rst
lib/sqlalchemy/sql/expression.py
test/sql/test_operators.py