Commit 9e84a83a authored by Godefroid Chapelle's avatar Godefroid Chapelle

fix POSKeyError during commit after savepoint rollback

see https://github.com/zopefoundation/ZODB/issues/16
parent 8ef6f470
......@@ -997,6 +997,7 @@ class Connection(ExportImport, object):
def readCurrent(self, ob):
assert ob._p_jar is self
assert ob._p_oid is not None and ob._p_serial is not None
if ob._p_serial != z64:
self._readCurrent[ob._p_oid] = ob._p_serial
# persistent.interfaces.IPersistentDatamanager
......
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