Commit dd0c3283 authored by Tim Peters's avatar Tim Peters

Correction to computation of txn size -- subtract the start offset of the

transaction, not the position of the first record.
parent 371f0a1e
......@@ -43,7 +43,7 @@ def fsdump(path, file=None, with_offset=1):
if with_offset:
print >> file, ("Trans #%05d tid=%016x time=%s size=%d"
% (i, u64(trans.tid), str(TimeStamp(trans.tid)),
trans._tend - trans._pos))
trans._tend - trans._tpos))
else:
print >> file, "Trans #%05d tid=%016x time=%s" % \
(i, u64(trans.tid), str(TimeStamp(trans.tid)))
......
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