[Zodb-checkins] CVS: ZODB3/ZODB/tests - testRecover.py:1.2.4.2

Jeremy Hylton jeremy at zope.com
Wed Jun 11 20:12:02 EDT 2003


Update of /cvs-repository/ZODB3/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv6722/ZODB/tests

Modified Files:
      Tag: ZODB3-3_1-branch
	testRecover.py 
Log Message:
Merge tim-loading_oids_status-branch to ZODB 3.1 release branch.

Includes four critical bug fixes.


=== ZODB3/ZODB/tests/testRecover.py 1.2.4.1 => 1.2.4.2 ===
--- ZODB3/ZODB/tests/testRecover.py:1.2.4.1	Fri May 23 12:32:39 2003
+++ ZODB3/ZODB/tests/testRecover.py	Wed Jun 11 19:11:31 2003
@@ -120,14 +120,14 @@
         L = self.storage.undoLog()
         r = L[3]
         tid = base64.decodestring(r["id"] + "\n")
-        pos1 = self.storage._txn_find(tid, False)
+        pos1 = self.storage._txn_find(tid, 0)
 
         r = L[8]
         tid = base64.decodestring(r["id"] + "\n")
-        pos2 = self.storage._txn_find(tid, False)
-        
+        pos2 = self.storage._txn_find(tid, 0)
+
         self.storage.close()
-        
+
         # Overwrite the entire header.
         f = open(self.path, "a+b")
         f.seek(pos1 - 50)




More information about the Zodb-checkins mailing list