summaryrefslogtreecommitdiff
path: root/plugins/Dbx_sqlite/src/dbintf.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-10-01 21:07:25 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-10-01 21:07:25 +0300
commita6821e1eefdbd4c428a62bfd41cb2bf1f9fa7f39 (patch)
tree78f72340a4465e5469de62016ee62dbc194af229 /plugins/Dbx_sqlite/src/dbintf.h
parent1ad97c2cb09ab0348162e8cbb7af83df6c5c18bf (diff)
Dbx_Sqlite: fix for events deletion
Diffstat (limited to 'plugins/Dbx_sqlite/src/dbintf.h')
-rw-r--r--plugins/Dbx_sqlite/src/dbintf.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/Dbx_sqlite/src/dbintf.h b/plugins/Dbx_sqlite/src/dbintf.h
index 0872fa1096..7f6447ffd7 100644
--- a/plugins/Dbx_sqlite/src/dbintf.h
+++ b/plugins/Dbx_sqlite/src/dbintf.h
@@ -80,11 +80,12 @@ class CDbxSQLite : public MDatabaseCommon, public MIDatabaseChecker, public MZer
void InitEvents();
void UninitEvents();
CQuery qEvAdd, qEvDel, qEvEdit1, qEvEdit2, qEvBlobSize, qEvGet, qEvGetFlags, qEvSetFlags, qEvGetContact, qEvGetContact2;
- CQuery qEvFindFirst, qEvFindNext, qEvFindLast, qEvFindPrev, qEvFindUnread, qEvAddSrt, qEvDelSrt, qEvMetaSplit, qEvMetaMerge;
+ CQuery qEvFindFirst, qEvFindNext, qEvFindLast, qEvFindPrev, qEvFindUnread, qEvAddSrt, qEvDelSrt, qEvDelSrt2, qEvMetaSplit, qEvMetaMerge;
CQuery qEvGetById, qEvUpdateId, qEvSetJson;
int AddEventSrt(MEVENT, MCONTACT, int64_t ts);
int DeleteEventMain(MEVENT);
- int DeleteEventSrt(MEVENT, MCONTACT, int64_t ts);
+ int DeleteEventSrt(MCONTACT, int64_t ts);
+ int DeleteEventSrt2(MCONTACT, MEVENT);
// settings
void InitSettings();