mdbx: check env-flags while opening live db.

This commit is contained in:
Leo Yuriev
2017-04-21 19:00:33 +03:00
parent 36f1491ba8
commit c1ad75d810
2 changed files with 14 additions and 3 deletions

View File

@@ -360,6 +360,8 @@ typedef struct MDBX_lockinfo {
uint64_t mti_magic;
/* Format of this lock file. Must be set to MDB_LOCK_FORMAT. */
uint64_t mti_format;
/* Flags which environment was opened. */
uint64_t mti_envmode;
#ifdef MDBX_OSAL_LOCK
MDBX_OSAL_LOCK mti_wmutex;