mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-20 05:38:20 +08:00
mdbx: fix typo inside mdbx_setup_debug().
Change-Id: I1df92033889572cefa6ff6a54ec2cff9d977fc12
This commit is contained in:
parent
25e20315ae
commit
60d6685665
@ -12986,7 +12986,7 @@ int __cold mdbx_reader_check0(MDBX_env *env, int rdt_locked, int *dead) {
|
|||||||
int __cold mdbx_setup_debug(int flags, MDBX_debug_func *logger) {
|
int __cold mdbx_setup_debug(int flags, MDBX_debug_func *logger) {
|
||||||
const int rc = mdbx_runtime_flags;
|
const int rc = mdbx_runtime_flags;
|
||||||
if (flags != -1) {
|
if (flags != -1) {
|
||||||
#if MDBX_DEBUG
|
#if !MDBX_DEBUG
|
||||||
flags &= MDBX_DBG_DUMP | MDBX_DBG_LEGACY_MULTIOPEN;
|
flags &= MDBX_DBG_DUMP | MDBX_DBG_LEGACY_MULTIOPEN;
|
||||||
#else
|
#else
|
||||||
flags &= MDBX_DBG_ASSERT | MDBX_DBG_PRINT | MDBX_DBG_TRACE |
|
flags &= MDBX_DBG_ASSERT | MDBX_DBG_PRINT | MDBX_DBG_TRACE |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user