Commit c7ab07b0 authored by Michel Pelletier's avatar Michel Pelletier

Fixed bug where transaction counter wasn't incrimented, thus not

allowing the manager to see more than the very first 20 previous transactions.
parent af762a3b
......@@ -184,7 +184,7 @@
# may have a back pointer to a version record or to a non-version
# record.
#
__version__='$Revision: 1.21 $'[11:-2]
__version__='$Revision: 1.22 $'[11:-2]
import struct, time, os, bpthread, string, base64
from struct import pack, unpack
......@@ -642,7 +642,9 @@ class FileStorage(BaseStorage.BaseStorage):
while i < last and pos > 39:
seek(pos-8)
pos=pos-u64(read(8))-8
if i < first: continue
if i < first:
i = i+1
continue
seek(pos)
h=read(23)
tid, tl, status, ul, dl, el = unpack(">8s8scHHH", h)
......
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