diff options
author | George Hazan <george.hazan@gmail.com> | 2023-10-01 21:07:25 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-10-01 21:07:25 +0300 |
commit | a6821e1eefdbd4c428a62bfd41cb2bf1f9fa7f39 (patch) | |
tree | 78f72340a4465e5469de62016ee62dbc194af229 /plugins/Dbx_sqlite/src/dbintf.h | |
parent | 1ad97c2cb09ab0348162e8cbb7af83df6c5c18bf (diff) |
Dbx_Sqlite: fix for events deletion
Diffstat (limited to 'plugins/Dbx_sqlite/src/dbintf.h')
-rw-r--r-- | plugins/Dbx_sqlite/src/dbintf.h | 5 |
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();
|