Commit 1375b51e authored by Jeremy Hylton's avatar Jeremy Hylton

Finish fixing pack() to accept "u" -- non-transactional undo.

parent a3a871cf
......@@ -170,7 +170,7 @@ class FileStorageFormatter:
self.ltid = th.tid
if th.status == "c":
self.fail(pos, "transaction with checkpoint flag set")
if not (th.status == " " or th.status == "p"):
if not th.status in " pu": # recognize " ", "p", and "u" as valid
self.fail(pos, "invalid transaction status: %r", th.status)
if th.tlen < th.headerlen():
self.fail(pos, "invalid transaction header: "
......
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