aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/learn_cache/sqlite3_cache.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-02-13 17:12:44 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-02-13 17:12:44 +0000
commit9d0fd4d7e5b5a3f3752d5c2f625fd6243da10704 (patch)
tree538feff5efeb824fcf0581ec97776f73d0781cff /src/libstat/learn_cache/sqlite3_cache.c
parentcb0ded1e07c56db657cf1008338ef35f8697e6a6 (diff)
downloadrspamd-9d0fd4d7e5b5a3f3752d5c2f625fd6243da10704.tar.gz
rspamd-9d0fd4d7e5b5a3f3752d5c2f625fd6243da10704.zip
Avoid variables conflict.
Diffstat (limited to 'src/libstat/learn_cache/sqlite3_cache.c')
-rw-r--r--src/libstat/learn_cache/sqlite3_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstat/learn_cache/sqlite3_cache.c b/src/libstat/learn_cache/sqlite3_cache.c
index 0bde829f7..c92c69a21 100644
--- a/src/libstat/learn_cache/sqlite3_cache.c
+++ b/src/libstat/learn_cache/sqlite3_cache.c
@@ -32,7 +32,7 @@
#include "message.h"
#include <sqlite3.h>
-const char *create_tables_sql =
+static const char *create_tables_sql =
"BEGIN;"
"CREATE TABLE IF NOT EXISTS learns("
"id INTEGER PRIMARY KEY,"