]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed bug in session.rollback() which involved not removing
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 5 Feb 2010 18:12:38 +0000 (18:12 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 5 Feb 2010 18:12:38 +0000 (18:12 +0000)
commit15fd2f79b85b6ee9e8165cd353e922500c907c87
tree9b6ac220c96d527eae64abe78d9dd53be985eadf
parenta4a38a982aa04f3d08e662c50e55be23cefcc492
- Fixed bug in session.rollback() which involved not removing
formerly "pending" objects from the session before
re-integrating "deleted" objects, typically occured with
natural primary keys. If there was a primary key conflict
between them, the attach of the deleted would fail
internally. The formerly "pending" objects are now expunged
first. [ticket:1674]
CHANGES
lib/sqlalchemy/orm/session.py
test/orm/test_transaction.py