[Zodb-checkins] CVS: ZODB3/ZEO - ClientCache.py:1.35
Guido van Rossum
guido@python.org
Thu, 5 Sep 2002 22:37:58 -0400
Update of /cvs-repository/ZODB3/ZEO
In directory cvs.zope.org:/tmp/cvs-serv4939
Modified Files:
ClientCache.py
Log Message:
Docstring: correct offset and record length calculations if vlen==0.
=== ZODB3/ZEO/ClientCache.py 1.34 => 1.35 ===
--- ZODB3/ZEO/ClientCache.py:1.34 Wed Sep 4 14:09:14 2002
+++ ZODB3/ZEO/ClientCache.py Thu Sep 5 22:37:57 2002
@@ -63,9 +63,11 @@
31+dlen+vlen+vdlen: vserial -- 8-byte version serial (timestamp)
(if vlen > 0)
+ 27+dlen (if vlen == 0) **or**
39+dlen+vlen+vdlen: tlen -- 4-byte (unsigned) record length (for
redundancy and backward traversal)
+ 31+dlen (if vlen == 0) **or**
43+dlen+vlen+vdlen: -- total record length (equal to tlen)
There is a cache size limit.