mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Fix update of big data items
This commit is contained in:
parent
13c663f666
commit
01b9fc59fb
@ -3469,7 +3469,8 @@ mdb_put0(MDB_txn *txn, MDB_dbi dbi,
|
||||
goto put_sub;
|
||||
}
|
||||
/* same size, just replace it */
|
||||
if (NODEDSZ(leaf) == data->mv_size) {
|
||||
if (!F_ISSET(leaf->mn_flags, F_BIGDATA) &&
|
||||
NODEDSZ(leaf) == data->mv_size) {
|
||||
memcpy(NODEDATA(leaf), data->mv_data, data->mv_size);
|
||||
goto done;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user