[Zodb-checkins] CVS: ZODB3/ZODB - fsdump.py:1.11
Tim Peters
tim.one at comcast.net
Tue Oct 14 13:49:42 EDT 2003
Update of /cvs-repository/ZODB3/ZODB
In directory cvs.zope.org:/tmp/cvs-serv19879/ZODB
Modified Files:
fsdump.py
Log Message:
Correction to computation of txn size -- subtract the start offset of the
transaction, not the position of the first record.
=== ZODB3/ZODB/fsdump.py 1.10 => 1.11 ===
--- ZODB3/ZODB/fsdump.py:1.10 Tue Oct 14 13:11:40 2003
+++ ZODB3/ZODB/fsdump.py Tue Oct 14 13:49:41 2003
@@ -43,7 +43,7 @@
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)))
More information about the Zodb-checkins
mailing list