summaryrefslogtreecommitdiffstats
path: root/src/libstat/backends/sqlite3_backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstat/backends/sqlite3_backend.c')
-rw-r--r--src/libstat/backends/sqlite3_backend.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstat/backends/sqlite3_backend.c b/src/libstat/backends/sqlite3_backend.c
index 617dd99bb..c9c78df8f 100644
--- a/src/libstat/backends/sqlite3_backend.c
+++ b/src/libstat/backends/sqlite3_backend.c
@@ -203,7 +203,7 @@ static struct rspamd_sqlite3_prstmt prepared_stmts[RSPAMD_STAT_BACKEND_MAX] =
.sql = "INSERT INTO users (name, learns) VALUES (?1, 0);",
.stmt = NULL,
.args = "T",
- .result = SQLITE_ROW,
+ .result = SQLITE_DONE,
.ret = "L"
},
{
@@ -211,7 +211,7 @@ static struct rspamd_sqlite3_prstmt prepared_stmts[RSPAMD_STAT_BACKEND_MAX] =
.sql = "INSERT INTO languages (name, learns) VALUES (?1, 0);",
.stmt = NULL,
.args = "T",
- .result = SQLITE_ROW,
+ .result = SQLITE_DONE,
.ret = "L"
},
{
@@ -219,7 +219,7 @@ static struct rspamd_sqlite3_prstmt prepared_stmts[RSPAMD_STAT_BACKEND_MAX] =
.sql = "INSERT INTO tokenizer(data) VALUES (?1);",
.stmt = NULL,
.args = "B",
- .result = SQLITE_ROW,
+ .result = SQLITE_DONE,
.ret = ""
},
{