]> 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:54:49 +0000 (19:54 -0500)
commite21cd0d95fb6cdcb4e10ea78abd5626bb92c37c3
treecf734e703d24fc415727279cb137d97858674cd7
parentc2f86c92b1fbb4e855161bd509d3057f86ed7a74
- 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
doc/build/changelog/changelog_08.rst
lib/sqlalchemy/sql/elements.py
test/sql/test_operators.py