Commit 6eafeda8 authored by Jeremy Hylton's avatar Jeremy Hylton

Remove check for oid serialno matching transaction id.

This is no longer an invariant.  Storage methods like restore(),
abortVersion(), and commitVersion() can result in a serialno that does
not match the transaction id.
parent ddf9f94a
......@@ -181,11 +181,6 @@ def check_drec(path, file, pos, tpos, tid):
plen = U64(_plen)
dlen = DREC_HDR_LEN + (plen or 8)
if serial != tid:
raise FormatError("%s object serialno %s does not match"
"transaction id %s" % (pos, hexify(serial),
hexify(tid)))
if vlen:
dlen = dlen + 16 + vlen
file.seek(8, 1)
......
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