From 7524acda0a8778572262429f27b359d7ee91fc90 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 7 Jan 2020 22:56:32 +0300 Subject: libmdbx: update to 0.5.0 --- plugins/Dbx_mdbx/src/dbintf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Dbx_mdbx/src/dbintf.cpp') diff --git a/plugins/Dbx_mdbx/src/dbintf.cpp b/plugins/Dbx_mdbx/src/dbintf.cpp index aa990e72b2..088dcb5eea 100644 --- a/plugins/Dbx_mdbx/src/dbintf.cpp +++ b/plugins/Dbx_mdbx/src/dbintf.cpp @@ -250,7 +250,7 @@ int CDbxMDBX::Map() if (rc != MDBX_SUCCESS) return EGROKPRF_CANTREAD; - unsigned int mode = MDBX_NOSUBDIR | MDBX_MAPASYNC | MDBX_WRITEMAP | MDBX_NOSYNC | MDBX_COALESCE | MDBX_EXCLUSIVE; + unsigned int mode = MDBX_NOSUBDIR | MDBX_MAPASYNC | MDBX_WRITEMAP | MDBX_SAFE_NOSYNC | MDBX_COALESCE | MDBX_EXCLUSIVE; if (m_bReadOnly) mode |= MDBX_RDONLY; -- cgit v1.2.3