[Zodb-checkins] CVS: Zope3/src/zodb/storage - base.py:1.26.2.2
Barry Warsaw
barry at zope.com
Mon Apr 21 16:45:39 EDT 2003
Update of /cvs-repository/Zope3/src/zodb/storage
In directory cvs.zope.org:/tmp/cvs-serv8009
Modified Files:
Tag: jeremy-new-pack-branch
base.py
Log Message:
BerkeleyBase.__init__(): The oidqueue table now has differently sized
values depending on whether it's used for full or minimal storage. In
full storage, the oidqueue must hold revids (16 bytes), but in the
minimal storage it holds just oids (8 bytes). Therefore, let
subclasses initialize this table.
Also, the packmark table for full now can hold dups. Since this flag
setting doesn't matter for minimal, always set this flag.
=== Zope3/src/zodb/storage/base.py 1.26.2.1 => 1.26.2.2 ===
--- Zope3/src/zodb/storage/base.py:1.26.2.1 Thu Apr 17 18:49:49 2003
+++ Zope3/src/zodb/storage/base.py Mon Apr 21 15:45:37 2003
@@ -536,8 +536,7 @@
self._references = self._setupDB('references')
self._oids = self._setupDB('oids')
self._pending = self._setupDB('pending')
- self._packmark = self._setupDB('packmark')
- self._oidqueue = self._setupDB('oidqueue', 0, db.DB_QUEUE, 8)
+ self._packmark = self._setupDB('packmark', db.DB_DUP)
# Do storage specific initialization
self._init()
self._withtxn(self._version_check)
More information about the Zodb-checkins
mailing list