summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdbx/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-12-06 17:15:42 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-12-06 17:15:42 +0300
commit5077fc56fbde196cdf821e044b607d39a34ce258 (patch)
tree9d46e9d8ddc22696e48d5073ef046ce3aebae85f /plugins/Dbx_mdbx/src
parent3bb16e798cb51d5764aacbefd4edf26f52d8c4f0 (diff)
libmdbx: upgrade to 0.4.0
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;
}