https://bugs.openldap.org/show_bug.cgi?id=9461
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |TEST Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Howard Chu hyc@openldap.org --- (In reply to github@nicwatson.org from comment #0)
Created attachment 795 [details] repro of cursor delete bug
Thanks for the report. Broken by the patch for ITS#9376. Fixed now in git.
See attached source code for reproduction. The test behaves correctly in 0.9.26 and fails in 0.9.27 and 0.9.28.
The failing sequence is:
- In a dupsort DB, create two different keys and values.
- Create a cursor, setting the position to the second key.
- Delete the first key.
- Have the cursor get the next key. mdb_get_key will return the second key
instead of returning MDB_NOT_FOUND.