summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/Dbx_mdbx/src/dbintf.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Dbx_mdbx/src/dbintf.cpp b/plugins/Dbx_mdbx/src/dbintf.cpp
index fb3dbc1609..0a643f548c 100644
--- a/plugins/Dbx_mdbx/src/dbintf.cpp
+++ b/plugins/Dbx_mdbx/src/dbintf.cpp
@@ -195,8 +195,7 @@ int CDbxMDBX::Map()
if (m_bReadOnly)
mode |= MDBX_RDONLY;
- int exclusive = (m_bShared) ? 1 : 2;
- return mdbx_env_open_ex(m_env, _T2A(m_tszProfileName), mode, 0664, &exclusive);
+ return mdbx_env_open(m_env, _T2A(m_tszProfileName), mode, 0664);
}
/////////////////////////////////////////////////////////////////////////////////////////