[Zodb-checkins] CVS: ZODB3/ZEO1 - ClientCache.py:1.5

Jeremy Hylton jeremy@zope.com
Wed, 4 Sep 2002 14:06:45 -0400


Update of /cvs-repository/ZODB3/ZEO1
In directory cvs.zope.org:/tmp/cvs-serv11645/ZEO1

Modified Files:
	ClientCache.py 
Log Message:
Use the correct offset for seek in invalidate.

p can be negative, which merely means the offset is in the other file.


=== ZODB3/ZEO1/ClientCache.py 1.4 => 1.5 ===
--- ZODB3/ZEO1/ClientCache.py:1.4	Wed Sep  4 11:53:38 2002
+++ ZODB3/ZEO1/ClientCache.py	Wed Sep  4 14:06:45 2002
@@ -179,7 +179,7 @@
             f.seek(ap)
             h=f.read(8)
             if h != oid: return
-            f.seek(p+8) # Switch from reading to writing
+            f.seek(ap+8) # Switch from reading to writing
             if version:
                 self._trace(0x1A, oid, version)
                 f.write('n')