mdbx: fix first-rdonly-blocker bug.

This commit is contained in:
Leo Yuriev
2017-05-26 20:28:09 +03:00
parent 5c3691eff1
commit 60fed8bbca
2 changed files with 16 additions and 7 deletions

View File

@@ -337,7 +337,8 @@ typedef struct MDBX_lockinfo {
/* Format of this lock file. Must be set to MDBX_LOCK_FORMAT. */
uint64_t mti_format;
/* Flags which environment was opened. */
uint64_t mti_envmode;
uint32_t mti_envmode;
uint32_t mti_reserved;
#ifdef MDBX_OSAL_LOCK
MDBX_OSAL_LOCK mti_wmutex;