diff options
author | George Hazan <ghazan@miranda.im> | 2018-06-20 16:16:03 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-06-20 16:16:03 +0300 |
commit | f559ca1427b16c1d9192f554490759a753c3bf3b (patch) | |
tree | bf0236f6603b3a4ddcf3e099b7de00b05e456275 /plugins/Dbx_mdbx/src/dbintf.cpp | |
parent | 46ba46c99b1bf6849e9b8914ac9ed38aadeaf8e0 (diff) |
merge with libmdbx/xp
Diffstat (limited to 'plugins/Dbx_mdbx/src/dbintf.cpp')
-rw-r--r-- | plugins/Dbx_mdbx/src/dbintf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dbx_mdbx/src/dbintf.cpp b/plugins/Dbx_mdbx/src/dbintf.cpp index 5f8eaa4398..9fffe8f732 100644 --- a/plugins/Dbx_mdbx/src/dbintf.cpp +++ b/plugins/Dbx_mdbx/src/dbintf.cpp @@ -244,7 +244,7 @@ int CDbxMDBX::Map() if (rc != MDBX_SUCCESS)
return EGROKPRF_CANTREAD;
- unsigned int mode = MDBX_NOSUBDIR | MDBX_MAPASYNC | MDBX_WRITEMAP | MDBX_NOSYNC | MDBX_COALESCE;
+ unsigned int mode = MDBX_NOSUBDIR | MDBX_MAPASYNC | MDBX_WRITEMAP | MDBX_NOSYNC | MDBX_COALESCE | MDBX_EXCLUSIVE;
if (m_bReadOnly)
mode |= MDBX_RDONLY;
|