mdbx: remove extra assertion (backport).

The removed assertion could be triggered in debug builds when a reading
and writing transactions are overlapped simultaneously with a change of DB
size.

There were no other negative consequences.
This commit is contained in:
Леонид Юрьев (Leonid Yuriev) 2023-01-16 21:12:34 +03:00
parent c44c8132e4
commit 6899142872

View File

@ -6328,7 +6328,6 @@ __cold static int mdbx_mapresize(MDBX_env *env, const pgno_t used_pgno,
bailout:
if (rc == MDBX_SUCCESS) {
mdbx_assert(env, size_bytes == env->me_dxb_mmap.current);
mdbx_assert(env, size_bytes <= env->me_dxb_mmap.filesize);
mdbx_assert(env, limit_bytes == env->me_dxb_mmap.limit);
#ifdef MDBX_USE_VALGRIND