aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/sqlite_utils.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-19 10:58:48 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-19 10:58:48 +0000
commit27f77e95e672dbbf34141a5e6aa4d21e8d929702 (patch)
tree15e8e84b7cbcaa28814e02f4ce5f6f38523770bf /src/libutil/sqlite_utils.c
parent7328e7e9180124f4a2832891407feb4f60136c5d (diff)
downloadrspamd-27f77e95e672dbbf34141a5e6aa4d21e8d929702.tar.gz
rspamd-27f77e95e672dbbf34141a5e6aa4d21e8d929702.zip
Another try to improve sqlite3 interaction
Diffstat (limited to 'src/libutil/sqlite_utils.c')
-rw-r--r--src/libutil/sqlite_utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/sqlite_utils.c b/src/libutil/sqlite_utils.c
index bf8210c71..dff90fb6f 100644
--- a/src/libutil/sqlite_utils.c
+++ b/src/libutil/sqlite_utils.c
@@ -91,6 +91,7 @@ rspamd_sqlite3_run_prstmt (rspamd_mempool_t *pool, sqlite3 *db, GArray *stmts,
msg_debug_pool ("executing `%s`", nst->sql);
argtypes = nst->args;
+ sqlite3_clear_bindings (stmt);
sqlite3_reset (stmt);
va_start (ap, idx);
nargs = 1;