Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
nexedi
ZODB
Commits
746ba53e
Commit
746ba53e
authored
21 years ago
by
Tim Peters
Browse files
Options
Download
Email Patches
Plain Diff
Correction to computation of txn size -- subtract the start offset of the
transaction, not the position of the first record.
parent
014108d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/ZODB/fsdump.py
src/ZODB/fsdump.py
+1
-1
No files found.
src/ZODB/fsdump.py
View file @
746ba53e
...
...
@@ -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
.
_
t
pos
))
else
:
print
>>
file
,
"Trans #%05d tid=%016x time=%s"
%
\
(
i
,
u64
(
trans
.
tid
),
str
(
TimeStamp
(
trans
.
tid
)))
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment