mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
ITS#8699 more for cursor_del ITS#8622
Set C_DEL flag on reinit'd subcursor
This commit is contained in:
parent
3b1acd40cd
commit
35251f6847
1 changed files with 3 additions and 1 deletions
|
|
@ -8465,8 +8465,10 @@ mdb_cursor_del0(MDB_cursor *mc)
|
||||||
if (m3->mc_xcursor->mx_cursor.mc_flags & C_INITIALIZED) {
|
if (m3->mc_xcursor->mx_cursor.mc_flags & C_INITIALIZED) {
|
||||||
if (!(node->mn_flags & F_SUBDATA))
|
if (!(node->mn_flags & F_SUBDATA))
|
||||||
m3->mc_xcursor->mx_cursor.mc_pg[0] = NODEDATA(node);
|
m3->mc_xcursor->mx_cursor.mc_pg[0] = NODEDATA(node);
|
||||||
} else
|
} else {
|
||||||
mdb_xcursor_init1(m3, node);
|
mdb_xcursor_init1(m3, node);
|
||||||
|
m3->mc_xcursor->mx_cursor.mc_flags |= C_DEL;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue