From 5077fc56fbde196cdf821e044b607d39a34ce258 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 6 Dec 2019 17:15:42 +0300 Subject: libmdbx: upgrade to 0.4.0 --- plugins/Dbx_mdbx/src/dbintf.cpp | 2 +- plugins/Dbx_mdbx/src/init.cpp | 2 +- 2 files 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 40b899d1e2..9a94709342 100644 --- a/plugins/Dbx_mdbx/src/dbintf.cpp +++ b/plugins/Dbx_mdbx/src/dbintf.cpp @@ -291,7 +291,7 @@ static VOID CALLBACK DoBufferFlushTimerProc(HWND hwnd, UINT, UINT_PTR idEvent, D void CDbxMDBX::DBFlush(bool bForce) { if (bForce) { - mdbx_env_sync(m_env, true); + mdbx_env_sync(m_env); } else if (m_safetyMode) { ::KillTimer(m_hwndTimer, 1); diff --git a/plugins/Dbx_mdbx/src/init.cpp b/plugins/Dbx_mdbx/src/init.cpp index ff0e8eac34..70349fa0b5 100644 --- a/plugins/Dbx_mdbx/src/init.cpp +++ b/plugins/Dbx_mdbx/src/init.cpp @@ -99,7 +99,7 @@ static DATABASELINK dblink = int CMPlugin::Load() { - mdbx_setup_debug(MDBX_DBG_ASSERT | MDBX_DBG_PRINT, &logger); + mdbx_setup_debug(MDBX_DBG_ASSERT, MDBX_LOG_WARN, &logger); RegisterDatabasePlugin(&dblink); return 0; } -- cgit v1.2.3