]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- [bug] UPDATE..FROM syntax with SQL Server
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 18 Apr 2012 23:52:58 +0000 (19:52 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 18 Apr 2012 23:52:58 +0000 (19:52 -0400)
commit541e59c3d7c141cfe532b26b5fbf4b8a8d30b841
treecb390b3341ddd4a0fdbd21646a7ee54f150b9b95
parentfdda4b0e018f8c1a869411b7ed31387ea90cb082
- [bug] UPDATE..FROM syntax with SQL Server
requires that the updated table be present
in the FROM clause when an alias of that
table is also present in the FROM clause.
The updated table is now always present
in the FROM, when FROM is present
in the first place.  Courtesy sayap.
[ticket:2468]
CHANGES
lib/sqlalchemy/dialects/mssql/base.py
lib/sqlalchemy/sql/compiler.py
test/dialect/test_mssql.py
test/sql/test_compiler.py
test/sql/test_update.py