mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
More for cursor EOF
Must also set in sub-cursor if deleting entire subDB
This commit is contained in:
parent
7f038d0f15
commit
886ee41d55
@ -7659,6 +7659,8 @@ mdb_cursor_del0(MDB_cursor *mc)
|
||||
m3->mc_flags |= C_DEL;
|
||||
if (m3->mc_ki[mc->mc_top] > ki)
|
||||
m3->mc_ki[mc->mc_top]--;
|
||||
else if (mc->mc_db->md_flags & MDB_DUPSORT)
|
||||
m3->mc_xcursor->mx_cursor.mc_flags |= C_EOF;
|
||||
}
|
||||
if (m3->mc_ki[mc->mc_top] >= nkeys) {
|
||||
rc = mdb_cursor_sibling(m3, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user