[Zope-Checkins] CVS: ZODB3/ZEO - ClientStorage.py:1.87

Barry Warsaw barry@wooz.org
Mon, 27 Jan 2003 17:30:21 -0500


Update of /cvs-repository/ZODB3/ZEO
In directory cvs.zope.org:/tmp/cvs-serv3068

Modified Files:
	ClientStorage.py 
Log Message:
tpc_begin(): Clear self._tbuf at the same time we clear self._seriald
so we're consistent with the cleanup that tpc_abort() does.


=== ZODB3/ZEO/ClientStorage.py 1.86 => 1.87 ===
--- ZODB3/ZEO/ClientStorage.py:1.86	Mon Jan 20 16:03:09 2003
+++ ZODB3/ZEO/ClientStorage.py	Mon Jan 27 17:30:18 2003
@@ -737,6 +737,7 @@
             raise
 
         self._serial = id
+        self._tbuf.clear()
         self._seriald.clear()
         del self._serials[:]
         self._tbuf.clear()