]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- [bug] removed legacy behavior whereby
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 24 Apr 2012 15:16:03 +0000 (11:16 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 24 Apr 2012 15:16:03 +0000 (11:16 -0400)
commit5c5634c04f6c64c8c95469d4c05ed4adaf5eabe2
tree1c406991c9b06c33c1722e4039a1c6475b2cc394
parentcb3913a186a01d9425e0ba97de89aa6d7d64ab96
- [bug] removed legacy behavior whereby
a column comparison to a scalar SELECT via
== would coerce to an IN with the SQL server
dialect.  This is implicit
behavior which fails in other scenarios
so is removed.  Code which relies on this
needs to be modified to use column.in_(select)
explicitly.  [ticket:2277]
CHANGES
lib/sqlalchemy/dialects/mssql/base.py
test/dialect/test_mssql.py
test/orm/test_query.py