]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- [bug] Fixed bug whereby transaction.rollback()
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 4 Dec 2011 19:25:00 +0000 (14:25 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 4 Dec 2011 19:25:00 +0000 (14:25 -0500)
commit632043bc8a72651f497396eb17e6f2b19bf98608
treeac913a5fda14fa1cf08510f651e0ae8ced31ee98
parent81945d7a0c60cc898541189d52564df2010871c1
- [bug] Fixed bug whereby transaction.rollback()
would throw an error on an invalidated
connection if the transaction were a
two-phase or savepoint transaction.
For plain transactions, rollback() is a no-op
if the connection is invalidated, so while
it wasn't 100% clear if it should be a no-op,
at least now the interface is consistent.
[ticket:2317]
CHANGES
lib/sqlalchemy/engine/base.py
test/engine/test_reconnect.py