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

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


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

Modified Files:
	ClientCache.py 
Log Message:
Use the correct offset for seek in load().

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


=== ZODB3/ZEO1/ClientCache.py 1.5 => 1.6 ===
--- ZODB3/ZEO1/ClientCache.py:1.5	Wed Sep  4 14:06:45 2002
+++ ZODB3/ZEO1/ClientCache.py	Wed Sep  4 14:09:14 2002
@@ -231,7 +231,7 @@
             v=read(vlen)
             if version != v:
                 if dlen:
-                    seek(p+27)
+                    seek(ap+27)
                     data = read(dlen)
                     self._trace(0x2C, oid, version, h[19:], dlen)
                     return data, h[19:]