[Zope-Checkins] CVS: Zope/lib/python/tempstorage -
TemporaryStorage.py:1.1.2.3
Chris McDonough
chrism at plope.com
Wed May 19 19:18:03 EDT 2004
Update of /cvs-repository/Zope/lib/python/tempstorage
In directory cvs.zope.org:/tmp/cvs-serv25976
Modified Files:
Tag: Zope-2_7-branch
TemporaryStorage.py
Log Message:
Collector 1341: TemporaryStorage cannot be used with ZEO servers.
=== Zope/lib/python/tempstorage/TemporaryStorage.py 1.1.2.2 => 1.1.2.3 ===
--- Zope/lib/python/tempstorage/TemporaryStorage.py:1.1.2.2 Sat May 15 21:41:34 2004
+++ Zope/lib/python/tempstorage/TemporaryStorage.py Wed May 19 19:18:02 2004
@@ -71,6 +71,10 @@
self._recently_gc_oids = [None for x in range (RECENTLY_GC_OIDS_LEN)]
self._oid = '\0\0\0\0\0\0\0\0'
+ def lastTransaction(self):
+ """ Return tid for last committed transaction (for ZEO) """
+ return self._ltid
+
def __len__(self):
return len(self._index)
@@ -168,6 +172,7 @@
serial=self._serial
index=self._index
opickle=self._opickle
+ self._ltid = tid
# iterate over all the objects touched by/created within this
# transaction
More information about the Zope-Checkins
mailing list