diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-06-27 16:41:36 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-06-27 16:42:17 +0100 |
commit | 59bcaad8221610804d99ae862dab0cfbdabf2dc1 (patch) | |
tree | e38ab7d5aafd14eaba48ad604614ce80eb50c978 /src/libstat/backends/sqlite3_backend.c | |
parent | 1f5b0222277e27e31cfe33bc14cb2fa83e824e3b (diff) | |
download | rspamd-59bcaad8221610804d99ae862dab0cfbdabf2dc1.tar.gz rspamd-59bcaad8221610804d99ae862dab0cfbdabf2dc1.zip |
Try to fix build with old sqlite.
Diffstat (limited to 'src/libstat/backends/sqlite3_backend.c')
-rw-r--r-- | src/libstat/backends/sqlite3_backend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstat/backends/sqlite3_backend.c b/src/libstat/backends/sqlite3_backend.c index 206317a98..13d82b7a3 100644 --- a/src/libstat/backends/sqlite3_backend.c +++ b/src/libstat/backends/sqlite3_backend.c @@ -333,7 +333,7 @@ rspamd_sqlite3_opendb (const gchar *path, const ucl_object_t *opts, if ((rc = sqlite3_open_v2 (path, &sqlite, flags, NULL)) != SQLITE_OK) { -#if SQLITE_VERSION_NUMBER >= 3007015 +#if SQLITE_VERSION_NUMBER >= 3008000 g_set_error (err, rspamd_sqlite3_quark (), rc, "cannot open sqlite db %s: %s", path, sqlite3_errstr (rc)); |