Commit 08ce5273 authored by Vincent Pelletier's avatar Vincent Pelletier

SQUASH Fix storage.database.importer getFirstTID

parent 59b0f182
......@@ -602,7 +602,7 @@ class ImporterDatabaseManager(DatabaseManager):
return zodb, oid - zodb.shift_oid
def getFirstTID(self):
return self.db.getFirstTID()
return min(next(zodb.iterator()).tid for zodb in self.zodb)
def getLastIDs(self):
tid, oid = self.db.getLastIDs()
......
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