Commit d71f76d8 authored by Jim Fulton's avatar Jim Fulton

Add a comment to explain a slight hack.

parent 1b9475d4
......@@ -652,6 +652,8 @@ class DB(object):
def _(conn):
if conn.transaction_manager is not None:
for c in six.itervalues(conn.connections):
# Prevent connections from implicitly starting new
# transactions.
c.explicit_transactions = True
conn.transaction_manager.abort()
conn._release_resources()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment