]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed bug where :meth:`.Table.update` and :meth:`.Table.delete`
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 9 May 2014 02:44:06 +0000 (22:44 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 9 May 2014 02:44:06 +0000 (22:44 -0400)
commit55eacc8dbea3c3f98197bde9034fd6558fb2bc09
treef4fedb84a3cd05166f40c34f6b2e06e5839fa619
parentc8873b31f0c87ba0d1a7518b36af7151dec34be4
- Fixed bug where :meth:`.Table.update` and :meth:`.Table.delete`
would produce an empty WHERE clause when an empty :func:`.and_()`
or :func:`.or_()` or other blank expression were applied.  This is
now consistent with that of :func:`.select`.
fixes #3045
doc/build/changelog/changelog_08.rst
lib/sqlalchemy/sql/compiler.py
test/sql/test_compiler.py
test/sql/test_delete.py
test/sql/test_update.py