[Zodb-checkins] CVS: ZODB3/ZODB - DemoStorage.py:1.23.2.1
Jim Fulton
jim at zope.com
Mon Jan 26 15:37:00 EST 2004
Update of /cvs-repository/ZODB3/ZODB
In directory cvs.zope.org:/tmp/cvs-serv22980/src/ZODB
Modified Files:
Tag: zope3-zodb3-devel-branch
DemoStorage.py
Log Message:
Fixed a type and added an XXX comment pointing out a packing bug.
=== ZODB3/ZODB/DemoStorage.py 1.23 => 1.23.2.1 ===
--- ZODB3/ZODB/DemoStorage.py:1.23 Wed Dec 24 11:02:00 2003
+++ ZODB3/ZODB/DemoStorage.py Mon Jan 26 15:36:58 2004
@@ -20,7 +20,7 @@
- Provide a volatile storage that is useful for giving demonstrations.
-The demo strorage can have a "base" storage that is used in a
+The demo storage can have a "base" storage that is used in a
read-only fashion. The base storage must not not to contain version
data.
@@ -456,6 +456,11 @@
# Build indexes up to the pack time:
index, vindex = self._build_indexes(stop)
+
+
+ # XXX This packing algorithm is flawed. It ignores
+ # references from non-current records after the pack
+ # time.
# Now build an index of *only* those objects reachable
# from the root.
More information about the Zodb-checkins
mailing list