Commit 18461e7d authored by Barry Warsaw's avatar Barry Warsaw

tpc_begin(): Clear self._tbuf at the same time we clear self._seriald

so we're consistent with the cleanup that tpc_abort() does.
parent 0a7b14a3
...@@ -737,6 +737,7 @@ class ClientStorage: ...@@ -737,6 +737,7 @@ class ClientStorage:
raise raise
self._serial = id self._serial = id
self._tbuf.clear()
self._seriald.clear() self._seriald.clear()
del self._serials[:] del self._serials[:]
self._tbuf.clear() self._tbuf.clear()
......
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