summaryrefslogtreecommitdiff
path: root/plugins/Dbx_kv
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-03-18 16:07:40 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-03-18 16:07:40 +0000
commit53a085f57ea760c94346e47af743970a37ed3d0f (patch)
tree3482b370537be83985370de491fe59ad57cc3ea9 /plugins/Dbx_kv
parent8ac8b7393cc59b2a4b993c6387ca3d72cf535c23 (diff)
hamster database creation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@12429 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_kv')
-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 aa4c7ac775..0b323a125a 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_ENABLE_RECOVERY | HAM_ENABLE_FSYNC;
+ int flags = HAM_ENABLE_FSYNC | HAM_DISABLE_RECOVERY;
if (ham_env_create(&m_pMdbEnv, _T2A(m_tszProfileName), flags, 0664, NULL) != HAM_SUCCESS)
return EGROKPRF_CANTREAD;