From 60d668566533532ecc173337699ae14cdcd33d1c Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Wed, 28 Aug 2019 04:55:30 +0300 Subject: [PATCH] mdbx: fix typo inside mdbx_setup_debug(). Change-Id: I1df92033889572cefa6ff6a54ec2cff9d977fc12 --- src/mdbx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mdbx.c b/src/mdbx.c index 6aa00d65..a8edbc64 100644 --- a/src/mdbx.c +++ b/src/mdbx.c @@ -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) { const int rc = mdbx_runtime_flags; if (flags != -1) { -#if MDBX_DEBUG +#if !MDBX_DEBUG flags &= MDBX_DBG_DUMP | MDBX_DBG_LEGACY_MULTIOPEN; #else flags &= MDBX_DBG_ASSERT | MDBX_DBG_PRINT | MDBX_DBG_TRACE |