[Python-checkins] python/dist/src/Lib/bsddb __init__.py,1.13,1.14
greg at users.sourceforge.net
greg at users.sourceforge.net
Thu Feb 26 05:07:16 EST 2004
Update of /cvsroot/python/python/dist/src/Lib/bsddb
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19023/bsddb
Modified Files:
__init__.py
Log Message:
Fixes SF bug # 778421
* 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.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** __init__.py 13 Jan 2004 19:59:57 -0000 1.13
--- __init__.py 26 Feb 2004 10:07:12 -0000 1.14
***************
*** 245,249 ****
self._checkOpen()
self._checkCursor()
! return self.dbc.set(key)
def next(self):
--- 245,249 ----
self._checkOpen()
self._checkCursor()
! return self.dbc.set_range(key)
def next(self):
More information about the Python-checkins
mailing list