[Zope-Checkins] CVS: ZODB3/BDBStorage - BDBFullStorage.py:1.75.2.8

Jeremy Hylton cvs-admin at zope.org
Tue Dec 2 11:34:48 EST 2003


Update of /cvs-repository/ZODB3/BDBStorage
In directory cvs.zope.org:/tmp/cvs-serv28845

Modified Files:
      Tag: ZODB3-mvcc-2-branch
	BDBFullStorage.py 
Log Message:
Rename getSerial() to getTid().


=== ZODB3/BDBStorage/BDBFullStorage.py 1.75.2.7 => 1.75.2.8 ===
--- ZODB3/BDBStorage/BDBFullStorage.py:1.75.2.7	Tue Dec  2 02:10:29 2003
+++ ZODB3/BDBStorage/BDBFullStorage.py	Tue Dec  2 11:34:47 2003
@@ -1068,12 +1068,13 @@
     def loadSerial(self, oid, serial):
         return self._loadSerialEx(oid, serial)[0]
 
-    def getSerial(self, oid):
+    def getTid(self, oid):
         # Return the serial number for the current revision of this object,
         # irrespective of any versions.
         self._lock_acquire()
         try:
             tid = self._getTid(oid)
+            # XXX Do we really need to check for DNE?
             # See if the object has been uncreated
             lrevid = unpack('>8s', self._metadata[oid+tid][16:24])[0]
             if lrevid == DNE:




More information about the Zope-Checkins mailing list