summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdbx/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-07-04 13:09:17 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-07-04 13:09:17 +0300
commit1122c4996692afde89182e132b0113ad56843046 (patch)
tree4270592c5d8c9d61cb2e7c4247dc586663672c07 /plugins/Dbx_mdbx/src
parentc7864c27c2f621ad5010be227c86f8ff6513ecb8 (diff)
grrm
Diffstat (limited to 'plugins/Dbx_mdbx/src')
-rw-r--r--plugins/Dbx_mdbx/src/dbintf.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Dbx_mdbx/src/dbintf.cpp b/plugins/Dbx_mdbx/src/dbintf.cpp
index 86d909a3bd..46890f5673 100644
--- a/plugins/Dbx_mdbx/src/dbintf.cpp
+++ b/plugins/Dbx_mdbx/src/dbintf.cpp
@@ -152,7 +152,7 @@ int CDbxMDBX::Load()
/////////////////////////////////////////////////////////////////////////////////////////
size_t iDefHeaderOffset = 0;
-BYTE bDefHeader[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0 };
+BYTE bDefHeader[] = { 0, 0, 0, 0, 0, 0, 0, 0 };
int CDbxMDBX::Check(void)
{
@@ -208,7 +208,7 @@ BOOL CDbxMDBX::Backup(const wchar_t *pwszPath)
return 1;
}
- int res = mdbx_env_copy2fd(m_env, pFile, MDBX_CP_COMPACT);
+ int res = mdbx_env_copy2fd(m_env, pFile, 0);
CloseHandle(pFile);
if (res == MDBX_SUCCESS)
return 0;