mirror of
https://github.com/isar/libmdbx.git
synced 2025-04-05 16:27:46 +08:00
mdbx: корректировка излишней assert-проверки внутри override_meta()
.
This commit is contained in:
parent
2ae7bfd9be
commit
22405885f6
@ -14459,7 +14459,10 @@ __cold static int __must_check_result override_meta(MDBX_env *env,
|
|||||||
osal_flush_incoherent_mmap(env->me_map, pgno2bytes(env, NUM_METAS),
|
osal_flush_incoherent_mmap(env->me_map, pgno2bytes(env, NUM_METAS),
|
||||||
env->me_os_psize);
|
env->me_os_psize);
|
||||||
}
|
}
|
||||||
eASSERT(env, !env->me_txn && !env->me_txn0);
|
eASSERT(env, (!env->me_txn && !env->me_txn0) ||
|
||||||
|
(env->me_stuck_meta == (int)target &&
|
||||||
|
(env->me_flags & (MDBX_EXCLUSIVE | MDBX_RDONLY)) ==
|
||||||
|
MDBX_EXCLUSIVE));
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user