[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#7681) Bugfix for MDB_SET_RANGE



Full_Name: Claude Brisson
Version: HEAD
OS: linux 64
URL: ftp://ftp.openldap.org/incoming/0001-fix-mdb_cursor_set-behaviour-for-MDB_SET_RANGE.patch
Submission from: (NULL) (84.103.74.195)


When no other page was found while provided key is less than found key,
mdb_cursor_get should not return MDB_NOTFOUND.

The attached patch is a proposal to fix the behaviour of mdb_cursor_set for
MDB_SET_RANGE. Please review that it is correct before integration.