mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-15 08:37:48 -05:00
Fix last delete from a subpage
This commit is contained in:
parent
0ab841598f
commit
237fabda64
1 changed files with 1 additions and 1 deletions
|
|
@ -3843,7 +3843,7 @@ mdb_cursor_del(MDB_cursor *mc, unsigned int flags)
|
|||
}
|
||||
rc = mdb_cursor_del(&mc->mc_xcursor->mx_cursor, 0);
|
||||
/* If sub-DB still has entries, we're done */
|
||||
if (mc->mc_xcursor->mx_db.md_root != P_INVALID) {
|
||||
if (mc->mc_xcursor->mx_db.md_entries) {
|
||||
if (leaf->mn_flags & F_SUBDATA) {
|
||||
/* update subDB info */
|
||||
MDB_db *db = NODEDATA(leaf);
|
||||
|
|
|
|||
Loading…
Reference in a new issue