mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 09:39:45 -05:00
More for ITS#8406
Revert excess cursor fixup
This commit is contained in:
parent
f7e85d7804
commit
e58db7d556
1 changed files with 4 additions and 2 deletions
|
|
@ -9198,9 +9198,11 @@ mdb_cursor_del0(MDB_cursor *mc)
|
|||
}
|
||||
if (mc->mc_db->md_flags & MDB_DUPSORT) {
|
||||
MDB_node *node = NODEPTR(m3->mc_pg[m3->mc_top], m3->mc_ki[m3->mc_top]);
|
||||
if (node->mn_flags & F_DUPDATA) {
|
||||
/* If this node is a fake page, it needs to be reinited
|
||||
* because its data has moved.
|
||||
*/
|
||||
if ((node->mn_flags & (F_DUPDATA|F_SUBDATA)) == F_DUPDATA) {
|
||||
mdb_xcursor_init1(m3, node);
|
||||
m3->mc_xcursor->mx_cursor.mc_flags |= C_DEL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue