summaryrefslogtreecommitdiff
path: root/plugins/Dbx_sqlite/src/dbevents.cpp
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-09-23 16:53:10 +0300
committeraunsane <aunsane@gmail.com>2018-09-23 16:53:10 +0300
commite5902c3524be5c1473563521c3e6e99acdf3ec3c (patch)
tree5ebd5b3f6b898e4bd5c15fdca931813dde257452 /plugins/Dbx_sqlite/src/dbevents.cpp
parent6e085b274205448082c43f1669d7dfed1ff75dfe (diff)
dbx_sqlite: fix get event query
Diffstat (limited to 'plugins/Dbx_sqlite/src/dbevents.cpp')
-rw-r--r--plugins/Dbx_sqlite/src/dbevents.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dbx_sqlite/src/dbevents.cpp b/plugins/Dbx_sqlite/src/dbevents.cpp
index 18ab712d76..d6af4ee98e 100644
--- a/plugins/Dbx_sqlite/src/dbevents.cpp
+++ b/plugins/Dbx_sqlite/src/dbevents.cpp
@@ -24,7 +24,7 @@ static char *evt_stmts[SQL_EVT_STMT_NUM] = {
"insert into events(contactid, module, timestamp, type, flags, size, blob) values (?, ?, ?, ?, ?, ?, ?);",
"delete from events where id = ?;",
"select size from events where id = ? limit 1;",
- "select module, timestamp, flags, type, size, blob from events where id = ? limit 1;",
+ "select module, timestamp, type, flags, size, blob from events where id = ? limit 1;",
"select flags from events where id = ? limit 1;",
"update events set flag = ? where id = ?;",
"select contactid from events where id = ? limit 1;",