mdbx: minor fix to avoid Valgrind false-positive issue.

Change-Id: Ifa4dc51b500ff42a88182d750e22572aa5b2155b
This commit is contained in:
Leo Yuriev 2018-07-01 17:42:35 +03:00
parent c9d0c8edeb
commit 8e0f5bea4a

View File

@ -7753,6 +7753,7 @@ int mdbx_cursor_put(MDBX_cursor *mc, MDBX_val *key, MDBX_val *data,
offset = env->me_psize - (unsigned)olddata.iov_len; offset = env->me_psize - (unsigned)olddata.iov_len;
flags |= F_DUPDATA | F_SUBDATA; flags |= F_DUPDATA | F_SUBDATA;
dummy.md_root = mp->mp_pgno; dummy.md_root = mp->mp_pgno;
dummy.md_seq = dummy.md_merkle = 0;
sub_root = mp; sub_root = mp;
} }
if (mp != fp) { if (mp != fp) {