[Zodb-checkins] CVS: StandaloneZODB/bsddb3Storage/bsddb3Storage - BerkeleyBase.py:1.10
Barry Warsaw
barry@wooz.org
Thu, 4 Oct 2001 17:09:24 -0400
Update of /cvs-repository/StandaloneZODB/bsddb3Storage/bsddb3Storage
In directory cvs.zope.org:/tmp/cvs-serv27651
Modified Files:
BerkeleyBase.py
Log Message:
_closelog(): Wauugh! I inadvertently committed a change which
bypassed unlinking of the commit log file. This broke Full and
Minimal storage. :(
=== StandaloneZODB/bsddb3Storage/bsddb3Storage/BerkeleyBase.py 1.9 => 1.10 ===
# files. BAW: maybe just truncate the file, or write a length
# into the headers and just zero out the length.
-## self._commitlog.close(unlink=1)
-## self._commitlog = None
+ self._commitlog.close(unlink=1)
+ self._commitlog = None
def _setupDB(self, name, flags=0):
"""Open an individual database with the given flags.