mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-03 20:40:05 -05:00
Fix cursor_del0 cursor fixup
Skip cursors that aren't as deep as current cursor
This commit is contained in:
parent
8c9a26c90d
commit
4a1717708c
1 changed files with 2 additions and 0 deletions
|
|
@ -7295,6 +7295,8 @@ mdb_cursor_del0(MDB_cursor *mc, MDB_node *leaf)
|
|||
continue;
|
||||
if (!(m2->mc_flags & C_INITIALIZED))
|
||||
continue;
|
||||
if (m2->mc_top < mc->mc_top)
|
||||
continue;
|
||||
if (m2->mc_pg[mc->mc_top] == mp) {
|
||||
if (m2->mc_ki[mc->mc_top] >= ki) {
|
||||
m2->mc_flags |= C_DEL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue