mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-02 03:54:13 +08:00
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:
parent
c44c8132e4
commit
6899142872
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user