Commit 2a294b10 authored by Jeremy Hylton's avatar Jeremy Hylton

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

parent 87efe1c1
......@@ -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