summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-02-05 20:57:21 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-02-05 20:57:21 +0300
commit0fc5e01bb59942e7e407d2182bd22beec8e727b0 (patch)
tree859400964e08ed2ee5f0cb5936bbb0af2f9f542f
parent675143ed0e670237e5561ae5362d48fc173d30dd (diff)
Dbx_sqlite: additional disk flush operation for #2694
-rwxr-xr-xplugins/Dbx_sqlite/src/dbintf.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Dbx_sqlite/src/dbintf.cpp b/plugins/Dbx_sqlite/src/dbintf.cpp
index 9e6cbeb6bb..f9ee454655 100755
--- a/plugins/Dbx_sqlite/src/dbintf.cpp
+++ b/plugins/Dbx_sqlite/src/dbintf.cpp
@@ -193,6 +193,7 @@ void CDbxSQLite::DBFlush(bool bForce)
BOOL CDbxSQLite::Flush()
{
DBFlush(true);
+ sqlite3_db_cacheflush(m_db);
return ERROR_SUCCESS;
}