]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed bug where the state tracking within multiple, nested
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 2 Apr 2015 16:19:15 +0000 (12:19 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 2 Apr 2015 16:19:15 +0000 (12:19 -0400)
commit359f471a1203cafd5dc99b5b078ba7d788b67cec
tree0470da42bc2e797c13f8bbe0ce1625723ee148af
parent2cae4f262b2faff18cbc06331a20e265b3b6c328
- Fixed bug where the state tracking within multiple, nested
:meth:`.Session.begin_nested` operations would fail to propagate
the "dirty" flag for an object that had been updated within
the inner savepoint, such that if the enclosing savepoint were
rolled back, the object would not be part of the state that was
expired and therefore reverted to its database state.
fixes #3352
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/orm/session.py
test/orm/test_transaction.py