[Date Prev][Date Next]
Re: (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) (188.8.131.52)
> 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.
Thanks. exactp is always NULL when using SET_RANGE, so that part of the patch
is unnecessary. Otherwise looks OK.
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/