summaryrefslogtreecommitdiff
path: root/plugins/Dbx_sqlite/src/dbcontacts.cpp
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-09-27 00:52:02 +0300
committeraunsane <aunsane@gmail.com>2018-09-27 00:52:16 +0300
commita828455c32303c292882805388508c594a777af4 (patch)
tree74580d814a8f4e5a1544c00930ed8f2d83a560b5 /plugins/Dbx_sqlite/src/dbcontacts.cpp
parentdbdae160f14fbc36d2b2a64b7348fdbd6957935b (diff)
dbx_sqlite:
- implementation of MetaMergeHistory/MetaSplitHistory - fix contact delete - enable db lock
Diffstat (limited to 'plugins/Dbx_sqlite/src/dbcontacts.cpp')
-rw-r--r--plugins/Dbx_sqlite/src/dbcontacts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dbx_sqlite/src/dbcontacts.cpp b/plugins/Dbx_sqlite/src/dbcontacts.cpp
index 648de7f1a7..f181420cb4 100644
--- a/plugins/Dbx_sqlite/src/dbcontacts.cpp
+++ b/plugins/Dbx_sqlite/src/dbcontacts.cpp
@@ -10,7 +10,7 @@ enum {
static char *ctc_stmts[SQL_CTC_STMT_NUM] = {
"select count(1) from contacts limit 1;",
"insert into contacts values (null);",
- "delete from events where contactid = ?; delete from settings where contactid = ?; delete from contacts where id = ?;"
+ "delete from contacts where id = ?;"
};
static sqlite3_stmt *ctc_stmts_prep[SQL_CTC_STMT_NUM] = { 0 };