[Zodb-checkins] CVS: ZODB3/BDBStorage - BerkeleyBase.py:1.40
Barry Warsaw
barry@wooz.org
Mon, 27 Jan 2003 16:11:18 -0500
Update of /cvs-repository/ZODB3/BDBStorage
In directory cvs.zope.org:/tmp/cvs-serv19138
Modified Files:
BerkeleyBase.py
Log Message:
__init__(), _version_check(): Backport from ZODB 4
=== ZODB3/BDBStorage/BerkeleyBase.py 1.39 => 1.40 ===
--- ZODB3/BDBStorage/BerkeleyBase.py:1.39 Mon Jan 20 17:16:21 2003
+++ ZODB3/BDBStorage/BerkeleyBase.py Mon Jan 27 16:11:15 2003
@@ -219,6 +219,7 @@
# procedure
self._tables = []
self._setupDBs()
+ self._withtxn(self._version_check)
# Initialize the object id counter.
self._init_oid()
# Set up the checkpointing thread
@@ -237,6 +238,9 @@
else:
self._autopacker = None
self.log('ready')
+
+ def _version_check(self, txn):
+ raise NotImplementedError
def _make_autopacker(self, event):
raise NotImplementedError