diff options
author | George Hazan <george.hazan@gmail.com> | 2015-03-15 21:44:43 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-03-15 21:44:43 +0000 |
commit | c1954acb738dd7f41f2c67bfd5fa8d98c435fff1 (patch) | |
tree | 3ec77dde2487bab8b76ab39b34e8ad1683f7e7c0 /plugins/Dbx_kv/src/dbintf.cpp | |
parent | 15e6faa8bc73431220727ae2fe38515abe03f9cc (diff) |
fix for processing NULL event handles
git-svn-id: http://svn.miranda-ng.org/main/trunk@12411 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_kv/src/dbintf.cpp')
-rw-r--r-- | plugins/Dbx_kv/src/dbintf.cpp | 2 |
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;
|