]> 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:21:00 +0000 (12:21 -0400)
commit7c32b4c2a61e52c1eceb63ebc154c9cc528feb9e
treebd77d03058e5c908428c46abd89bb2b1705bf061
parent01a1c3256aeef7994dca5652e62d37af2c3055b6
- 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

(cherry picked from commit 359f471a1203cafd5dc99b5b078ba7d788b67cec)
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/orm/session.py
test/orm/test_transaction.py