[Zodb-checkins] CVS: ZODB3/ZEO - cache.py:1.1.2.14
Jeremy Hylton
jeremy at zope.com
Tue Dec 23 00:08:50 EST 2003
Update of /cvs-repository/ZODB3/ZEO
In directory cvs.zope.org:/tmp/cvs-serv24040
Modified Files:
Tag: ZODB3-mvcc-2-branch
cache.py
Log Message:
Make sure the tid attribute is set on the FileCache.
=== ZODB3/ZEO/cache.py 1.1.2.13 => 1.1.2.14 ===
--- ZODB3/ZEO/cache.py:1.1.2.13 Tue Dec 23 00:02:52 2003
+++ ZODB3/ZEO/cache.py Tue Dec 23 00:08:49 2003
@@ -274,8 +274,8 @@
# @param tid the id of the transaction that wrote a new revision of oid
def invalidate(self, oid, version, tid):
- if tid > self.tid:
- self.tid = tid
+ if tid > self.fc.tid:
+ self.fc.settid(tid)
if oid in self.version:
self._trace(0x1A, oid, version, tid)
dllversion, dlltid = self.version[oid]
More information about the Zodb-checkins
mailing list