]> source.dussan.org Git - rspamd.git/commitdiff
Another try to fix locked statements in sqlite
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 1 Dec 2015 22:23:19 +0000 (22:23 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 1 Dec 2015 22:23:19 +0000 (22:23 +0000)
src/libserver/fuzzy_backend.c

index 83893e77a1cfc30aeaf9e5a6108be9e6897e45c1..c93b1c91ea8aa14919264d664d13fb5f1a4cc692 100644 (file)
@@ -323,7 +323,7 @@ retry:
        retcode = sqlite3_step (stmt);
 
        if (retcode == prepared_stmts[idx].result) {
-               return SQLITE_OK;
+               retcode = SQLITE_OK;
        }
        else {
                if ((retcode == SQLITE_BUSY ||