mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-30 11:39:34 -05:00
parent
28b8aaeb96
commit
163514e470
1 changed files with 4 additions and 1 deletions
|
|
@ -4062,7 +4062,10 @@ current:
|
|||
/* same size, just replace it */
|
||||
if (!F_ISSET(leaf->mn_flags, F_BIGDATA) &&
|
||||
NODEDSZ(leaf) == data->mv_size) {
|
||||
memcpy(NODEDATA(leaf), data->mv_data, data->mv_size);
|
||||
if (F_ISSET(flags, MDB_RESERVE))
|
||||
data->mv_data = NODEDATA(leaf);
|
||||
else
|
||||
memcpy(NODEDATA(leaf), data->mv_data, data->mv_size);
|
||||
goto done;
|
||||
}
|
||||
mdb_node_del(mc->mc_pg[mc->mc_top], mc->mc_ki[mc->mc_top], 0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue