summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdbx/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Dbx_mdbx/src')
-rw-r--r--plugins/Dbx_mdbx/src/dbintf.cpp2
-rw-r--r--plugins/Dbx_mdbx/src/init.cpp2
2 files changed, 2 insertions, 2 deletions
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;
}