[Zodb-checkins] CVS: Packages/bsddb3Storage - Full.py:1.28

barry@digicool.com barry@digicool.com
Fri, 29 Jun 2001 03:16:08 -0400 (EDT)


Update of /cvs-repository/Packages/bsddb3Storage/bsddb3Storage
In directory korak.digicool.com:/tmp/cvs-serv22415

Modified Files:
	Full.py 
Log Message:
_setupDBs(): Fix typo which caused a NameError when opening a database
that had existing versions in it already.  Bug discovered by Andreas
Jung.



--- Updated File Full.py in package Packages/bsddb3Storage --
--- Full.py	2001/06/18 18:49:48	1.27
+++ Full.py	2001/06/29 07:16:07	1.28
@@ -157,7 +157,7 @@
             # Convert to a Python long integer.  Note that cursor.last()
             # returns key/value, and we want the key (which for the _version
             # table is is the vid).
-            self.__nextvid = utils.U64(vid[0])
+            self.__nextvid = utils.U64(record[0])
         else:
             self.__nextvid = 0L
         # DEBUGGING