From 1122c4996692afde89182e132b0113ad56843046 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 4 Jul 2018 13:09:17 +0300 Subject: grrm --- plugins/Dbx_mdbx/src/dbintf.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Dbx_mdbx/src') 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; -- cgit v1.2.3