[Python-checkins] python/dist/src/Lib/bsddb __init__.py, 1.5.10.3,
1.5.10.4
greg at users.sourceforge.net
greg at users.sourceforge.net
Thu Feb 26 05:21:24 EST 2004
Update of /cvsroot/python/python/dist/src/Lib/bsddb
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21983/Lib/bsddb
Modified Files:
Tag: release23-maint
__init__.py
Log Message:
Fixes SF bsddb module bug 788421:
* Fixed a bug in the compatibility interface set_location() method
where it would not properly search to the next nearest key when
used on BTree databases. [SF bug id 788421]
* Fixed a bug in the compatibility interface set_location() method
where it could crash when looking up keys in a hash or recno
format database due to an incorrect free().
Index: __init__.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/bsddb/__init__.py,v
retrieving revision 1.5.10.3
retrieving revision 1.5.10.4
diff -C2 -d -r1.5.10.3 -r1.5.10.4
*** __init__.py 21 Sep 2003 23:18:29 -0000 1.5.10.3
--- __init__.py 26 Feb 2004 10:21:13 -0000 1.5.10.4
***************
*** 145,149 ****
self._checkOpen()
self._checkCursor()
! return self.dbc.set(key)
def next(self):
--- 145,149 ----
self._checkOpen()
self._checkCursor()
! return self.dbc.set_range(key)
def next(self):
More information about the Python-checkins
mailing list