mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
Set xcursor EOF after deleting last entry
This commit is contained in:
parent
1ac5147fc1
commit
534dcc7212
@ -6343,6 +6343,7 @@ mdb_cursor_del(MDB_cursor *mc, unsigned int flags)
|
||||
return rc;
|
||||
}
|
||||
/* otherwise fall thru and delete the sub-DB */
|
||||
mc->mc_xcursor->mx_cursor.mc_flags |= C_EOF;
|
||||
}
|
||||
|
||||
if (leaf->mn_flags & F_SUBDATA) {
|
||||
|
Loading…
Reference in New Issue
Block a user