summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-01-31 22:35:54 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-01-31 22:35:54 +0300
commit36d0c8d1d781d80e4bee71208d72ea5a1f8e1fec (patch)
tree30aa8f85dda26de517982e3b5c3e6c6d3d18056a /src
parentc6b493f65d7d768782852b6379c663161b63695f (diff)
we import slower, but more securely (flush database time to time)
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/MDatabaseCommon.cpp5
-rw-r--r--src/mir_app/src/mir_app.def1
-rw-r--r--src/mir_app/src/mir_app64.def1
3 files changed, 7 insertions, 0 deletions
diff --git a/src/mir_app/src/MDatabaseCommon.cpp b/src/mir_app/src/MDatabaseCommon.cpp
index 590e6f8dce..5133a55b91 100644
--- a/src/mir_app/src/MDatabaseCommon.cpp
+++ b/src/mir_app/src/MDatabaseCommon.cpp
@@ -149,6 +149,11 @@ BOOL MDatabaseCommon::Backup(LPCWSTR)
return ERROR_NOT_SUPPORTED;
}
+BOOL MDatabaseCommon::Flush(void)
+{
+ return ERROR_NOT_SUPPORTED;
+}
+
/////////////////////////////////////////////////////////////////////////////////////////
// Contacts
diff --git a/src/mir_app/src/mir_app.def b/src/mir_app/src/mir_app.def
index 58619f5392..61a832b972 100644
--- a/src/mir_app/src/mir_app.def
+++ b/src/mir_app/src/mir_app.def
@@ -771,3 +771,4 @@ _Netlib_GetTlsUnique@8 @831 NONAME
?EnableEncryption@MDatabaseReadonly@@UAGHH@Z @859 NONAME
?Tray1Click@Clist@@3V?$CMOption@_N@@A @860 NONAME
?TrayAlwaysStatus@Clist@@3V?$CMOption@_N@@A @861 NONAME
+?Flush@MDatabaseCommon@@UAGHXZ @862 NONAME
diff --git a/src/mir_app/src/mir_app64.def b/src/mir_app/src/mir_app64.def
index 0b45f3ea01..b0b9a06846 100644
--- a/src/mir_app/src/mir_app64.def
+++ b/src/mir_app/src/mir_app64.def
@@ -771,3 +771,4 @@ Netlib_GetTlsUnique @831 NONAME
?EnableEncryption@MDatabaseReadonly@@UEAAHH@Z @859 NONAME
?Tray1Click@Clist@@3V?$CMOption@_N@@A @860 NONAME
?TrayAlwaysStatus@Clist@@3V?$CMOption@_N@@A @861 NONAME
+?Flush@MDatabaseCommon@@UEAAHXZ @862 NONAME