summaryrefslogtreecommitdiff
path: root/plugins/Dbx_kv/src/dbintf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Dbx_kv/src/dbintf.cpp')
-rw-r--r--plugins/Dbx_kv/src/dbintf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dbx_kv/src/dbintf.cpp b/plugins/Dbx_kv/src/dbintf.cpp
index 0b323a125a..aa4c7ac775 100644
--- a/plugins/Dbx_kv/src/dbintf.cpp
+++ b/plugins/Dbx_kv/src/dbintf.cpp
@@ -177,7 +177,7 @@ int CDbxKV::Load(bool bSkipInit)
int CDbxKV::Create(void)
{
- int flags = HAM_ENABLE_FSYNC | HAM_DISABLE_RECOVERY;
+ int flags = HAM_ENABLE_FSYNC | HAM_ENABLE_RECOVERY | HAM_ENABLE_FSYNC;
if (ham_env_create(&m_pMdbEnv, _T2A(m_tszProfileName), flags, 0664, NULL) != HAM_SUCCESS)
return EGROKPRF_CANTREAD;