Commit 7de420dd authored by Barry Warsaw's avatar Barry Warsaw

__init__(), _version_check(): Backport from ZODB 4

parent 4243933e
......@@ -219,6 +219,7 @@ class BerkeleyBase(BaseStorage):
# procedure
self._tables = []
self._setupDBs()
self._withtxn(self._version_check)
# Initialize the object id counter.
self._init_oid()
# Set up the checkpointing thread
......@@ -238,6 +239,9 @@ class BerkeleyBase(BaseStorage):
self._autopacker = None
self.log('ready')
def _version_check(self, txn):
raise NotImplementedError
def _make_autopacker(self, event):
raise NotImplementedError
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment