Commit 3214c8db authored by Jeremy Hylton's avatar Jeremy Hylton

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

parent f1115331
...@@ -170,7 +170,7 @@ class FileStorageFormatter: ...@@ -170,7 +170,7 @@ class FileStorageFormatter:
self.ltid = th.tid self.ltid = th.tid
if th.status == "c": if th.status == "c":
self.fail(pos, "transaction with checkpoint flag set") 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) self.fail(pos, "invalid transaction status: %r", th.status)
if th.tlen < th.headerlen(): if th.tlen < th.headerlen():
self.fail(pos, "invalid transaction header: " 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