mdbx: refine setup_debug(), add MDBX_DBG_LEGACY_MULTIOPEN.

Change-Id: I5d144f6fa27b8f5885fa0a0fbd11fe1d44bcc41c
This commit is contained in:
Leonid Yuriev
2019-08-23 21:38:33 +03:00
parent 33a4f31f92
commit 93f82f47bd
5 changed files with 65 additions and 40 deletions

1
mdbx.h
View File

@@ -1684,6 +1684,7 @@ LIBMDBX_API MDBX_oom_func *mdbx_env_get_oomfunc(MDBX_env *env);
#define MDBX_DBG_AUDIT 16
#define MDBX_DBG_JITTER 32
#define MDBX_DBG_DUMP 64
#define MDBX_DBG_LEGACY_MULTIOPEN 128
typedef void MDBX_debug_func(int type, const char *function, int line,
const char *msg, va_list args);