]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed regression within the flush process when an attribute were
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 29 Apr 2015 18:00:16 +0000 (14:00 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 29 Apr 2015 18:00:16 +0000 (14:00 -0400)
commitb0be9211c9a2d9032b659b63888ffc76f64d4247
tree96b55f9441f1e30d0643cee89e7518bd8a87031d
parent93b5eae9843d423378f68be928a4f1e6fcacfb87
- Fixed regression within the flush process when an attribute were
set to a SQL expression for an UPDATE, and the SQL expression when
compared to the previous value of the attribute would produce a SQL
comparison other than ``==`` or ``!=``, the exception "Boolean value
of this clause is not defined" would raise.   The fix ensures that
the unit of work will not interpret the SQL expression in this way.
fixes #3402
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/orm/persistence.py
test/orm/test_unitofwork.py