1. 27 May, 2003 2 commits
  2. 23 May, 2003 12 commits
  3. 22 May, 2003 3 commits
  4. 20 May, 2003 2 commits
  5. 19 May, 2003 1 commit
  6. 16 May, 2003 2 commits
  7. 15 May, 2003 1 commit
  8. 14 May, 2003 1 commit
  9. 13 May, 2003 3 commits
  10. 12 May, 2003 2 commits
  11. 09 May, 2003 1 commit
  12. 08 May, 2003 6 commits
  13. 02 May, 2003 3 commits
  14. 01 May, 2003 1 commit
    • Jeremy Hylton's avatar
      Add a test specifically for damaged transaction headers. · 43007a55
      Jeremy Hylton authored
      We're still missing tests that cover important cases.  Unexecuted code
      below:
      
      >>>>>>             if l > len(data) - 8:
      >>>>>>                 pos += l
      >>>>>>                 break
      >>>>>>             s = l + 1
      >>>>>>             tl = u64(data[s:s+8])
      >>>>>>             if tl < pos:
      >>>>>>                 return pos + s + 8
      
      >>>>>>         except:
      >>>>>>             if partial and nrec:
      >>>>>>                 ofs._status = 'p'
      >>>>>>                 ofs.tpc_vote(transaction)
      >>>>>>                 ofs.tpc_finish(transaction)
      >>>>>>                 if verbose:
      >>>>>>                     print 'partial'
                         else:
      >>>>>>                 ofs.tpc_abort(transaction)
      >>>>>>             print "\n%s: %s\n" % sys.exc_info()[:2]
      >>>>>>             if not verbose:
      >>>>>>                 progress(prog1)
      >>>>>>             pos = scan(file, pos)
      43007a55