Commit 36de9b52 authored by Tim Peters's avatar Tim Peters

tpc_abort(): Repair fubar'ed "repaired" logic.

parent 42569a8a
......@@ -189,11 +189,13 @@ class BaseStorage(UndoLogCompatible):
try:
if transaction is not self._transaction:
return
self._abort()
self._clear_temp()
self._transaction = None
try:
self._abort()
self._clear_temp()
self._transaction = None
finally:
self._commit_lock_release()
finally:
self._commit_lock_release()
self._lock_release()
def _abort(self):
......
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