]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Adjusted flush accounting step to occur before
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 7 Feb 2011 21:12:24 +0000 (16:12 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 7 Feb 2011 21:12:24 +0000 (16:12 -0500)
commit8f381f202e569eda0d5de13f584304440492222c
treedf93078b52050369587640fe503da2695114225a
parentae5b58d9a5b03b71d2c22d410d1d94f8361b99f0
- Adjusted flush accounting step to occur before
the commit in the case of autocommit=True.  This allows
autocommit=True to work appropriately with
expire_on_commit=True, and also allows post-flush session
hooks to operate in the same transactional context
as when autocommit=False.  [ticket:2041]
CHANGES
lib/sqlalchemy/orm/session.py
test/orm/test_events.py
test/orm/test_session.py
test/orm/test_transaction.py