mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-27 09:09:20 -05:00
Simplify: Always set C_UNTRACK for tracked cursors.
TODO: Rename C_UNTRACK to C_TRACKED. Omitted now for readability. The current name is because it's lazy: not always set when tracked.
This commit is contained in:
parent
6741f9c0ef
commit
c09db5757d
1 changed files with 1 additions and 0 deletions
|
|
@ -6663,6 +6663,7 @@ mdb_del(MDB_txn *txn, MDB_dbi dbi,
|
|||
* run out of space, triggering a split. We need this
|
||||
* cursor to be consistent until the end of the rebalance.
|
||||
*/
|
||||
mc.mc_flags |= C_UNTRACK;
|
||||
mc.mc_next = txn->mt_cursors[dbi];
|
||||
txn->mt_cursors[dbi] = &mc;
|
||||
rc = mdb_cursor_del(&mc, data ? 0 : MDB_NODUPDATA);
|
||||
|
|
|
|||
Loading…
Reference in a new issue