mdbx: add MDBX_DBG_DUMP for mdbx_setup_debug().

So, meta-pages and lck-section now will be included into a coredump.
This commit is contained in:
Leo Yuriev
2017-06-15 04:06:07 +03:00
parent 2392c70e2b
commit 71e2fe3df0
4 changed files with 31 additions and 1 deletions

1
mdbx.h
View File

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