[Zope-Checkins] CVS: Zope2 - FileStorage.py:1.49.8.4

shane@digicool.com shane@digicool.com
Fri, 25 May 2001 16:33:30 -0400 (EDT)


Update of /cvs-repository/Zope2/lib/python/ZODB
In directory korak.digicool.com:/tmp/cvs-serv22769/lib/python/ZODB

Modified Files:
      Tag: zope-2_3-branch
	FileStorage.py 
Log Message:
Merged FileStorage.commitVersion() bugfix.



--- Updated File FileStorage.py in package Zope2/lib/python/ZODB --
--- FileStorage.py	2001/05/09 21:33:05	1.49.8.3
+++ FileStorage.py	2001/05/25 20:33:29	1.49.8.4
@@ -507,9 +507,7 @@
                     write(abort and pnv or spos) # data backpointer to src data
                     here=here+heredelta
 
-                    if h[16:24] != pnv:
-                        # This is not the first current record, so mark it
-                        current_oids[oid]=1
+                    current_oids[oid]=1
 
                 else:
                     # Hm.  This is a non-current record.  Is there a



--- Updated File FileStorage.py in package Zope2 --
--- FileStorage.py	2001/05/09 21:33:05	1.49.8.3
+++ FileStorage.py	2001/05/25 20:33:29	1.49.8.4
@@ -507,9 +507,7 @@
                     write(abort and pnv or spos) # data backpointer to src data
                     here=here+heredelta
 
-                    if h[16:24] != pnv:
-                        # This is not the first current record, so mark it
-                        current_oids[oid]=1
+                    current_oids[oid]=1
 
                 else:
                     # Hm.  This is a non-current record.  Is there a