Author: kpvdr
Date: 2009-02-18 10:14:54 -0500 (Wed, 18 Feb 2009)
New Revision: 3122
Modified:
store/trunk/cpp/tests/jrnl/jtt/jfile_chk.py
Log:
Fix for jfile_chk.py tool which has a bug in the abort handling path
Modified: store/trunk/cpp/tests/jrnl/jtt/jfile_chk.py
===================================================================
--- store/trunk/cpp/tests/jrnl/jtt/jfile_chk.py 2009-02-17 16:29:27 UTC (rev 3121)
+++ store/trunk/cpp/tests/jrnl/jtt/jfile_chk.py 2009-02-18 15:14:54 UTC (rev 3122)
@@ -580,7 +580,7 @@
elif hdr.magic[-1] == 'a': # abort
for rec in self.tmap[hdr.xid]:
if isinstance(rec[1], DeqHdr):
- if self.emap[rec[1].deq_rid] != None:
+ if rec[1].deq_rid in self.emap:
t = self.emap[rec[1].deq_rid]
self.emap[rec[1].deq_rid] = (t[0], t[1],
False) # Unlock enq record
del self.tmap[hdr.xid]
Show replies by date