[Zodb-checkins] SVN: ZODB/trunk/ Merge rev 30988 from 3.4 branch.

Tim Peters tim.one at comcast.net
Sat Jul 2 19:41:00 EDT 2005


Log message for revision 30989:
  Merge rev 30988 from 3.4 branch.
  
  Collector #1830.
  
  In some error cases when reading a FileStorage index, the
  code referenced an undefined global.
  

Changed:
  U   ZODB/trunk/NEWS.txt
  U   ZODB/trunk/src/ZODB/FileStorage/FileStorage.py

-=-
Modified: ZODB/trunk/NEWS.txt
===================================================================
--- ZODB/trunk/NEWS.txt	2005-07-02 23:38:33 UTC (rev 30988)
+++ ZODB/trunk/NEWS.txt	2005-07-02 23:41:00 UTC (rev 30989)
@@ -44,6 +44,9 @@
 FileStorage
 -----------
 
+- (3.5a4) Collector #1830.  In some error cases when reading a FileStorage
+  index, the code referenced an undefined global.
+
 - (3.5a4) Collector #1822.  The ``undoLog()`` and ``undoInfo()`` methods
   were changed in 3.4a9 to return the documented results.  Alas, some pieces
   of (non-ZODB) code relied on the actual behavior.  When the ``first`` and
@@ -66,14 +69,14 @@
   methods raise an exception if no key exists satsifying the constraints.
 
 
-What's new in ZODB3 3.4.1a3?
+What's new in ZODB3 3.4.1a4?
 ============================
 Release date: DD-MMM-2005
 
 Following are dates of internal releases (to support ongoing Zope 2
 development) since ZODB 3.4's last public release:
 
-- 3.4.1a3 DD-MMM-2005
+- 3.4.1a3 02-Jul-2005
 - 3.4.1a2 29-Jun-2005
 - 3.4.1a1 27-Jun-2005
 
@@ -91,6 +94,9 @@
 FileStorage
 -----------
 
+- (3.4.1a3) Collector #1830.  In some error cases when reading a FileStorage
+  index, the code referenced an undefined global.
+
 - (3.4.1a2) Collector #1822.  The ``undoLog()`` and ``undoInfo()`` methods
   were changed in 3.4a9 to return the documented results.  Alas, some pieces
   of (non-ZODB) code relied on the actual behavior.  When the `first` and

Modified: ZODB/trunk/src/ZODB/FileStorage/FileStorage.py
===================================================================
--- ZODB/trunk/src/ZODB/FileStorage/FileStorage.py	2005-07-02 23:38:33 UTC (rev 30988)
+++ ZODB/trunk/src/ZODB/FileStorage/FileStorage.py	2005-07-02 23:41:00 UTC (rev 30989)
@@ -1730,7 +1730,7 @@
                       name, pos)
 
             if index_get(h.oid, 0) != h.prev:
-                if prev:
+                if h.prev:
                     if recover:
                         return tpos, None, None
                     logger.error("%s incorrect previous pointer at %s",



More information about the Zodb-checkins mailing list