Commit 01b9fc59 authored by Howard Chu's avatar Howard Chu
Browse files

Fix update of big data items

parent 13c663f6
......@@ -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;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment