mdbx: enable non-debug logging in non-debug builds.

Change-Id: I295de5ef6369a55500b023abc3dcb26f5071c2da
This commit is contained in:
Leonid Yuriev
2020-09-05 01:52:17 +03:00
parent b1877d08ae
commit 6d7ec5a257
3 changed files with 61 additions and 79 deletions

View File

@@ -699,8 +699,8 @@ static int __cold mdbx_ipclock_failed(MDBX_env *env, mdbx_ipclock_t *ipc,
rc = MDBX_PANIC;
}
}
mdbx_notice("%clock owner died, %s", (rlocked ? 'r' : 'w'),
(rc ? "this process' env is hosed" : "recovering"));
mdbx_warning("%clock owner died, %s", (rlocked ? 'r' : 'w'),
(rc ? "this process' env is hosed" : "recovering"));
int check_rc = mdbx_reader_check0(env, rlocked, NULL);
check_rc = (check_rc == MDBX_SUCCESS) ? MDBX_RESULT_TRUE : check_rc;