From 0de99dc686d21c6a944978e6647b8193b2c6b44d Mon Sep 17 00:00:00 2001 From: Johan Wikman Date: Wed, 10 May 2017 15:52:29 +0300 Subject: [PATCH] MXS-1196: Use a syntactically correct stmt for init --- query_classifier/qc_sqlite/qc_sqlite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/query_classifier/qc_sqlite/qc_sqlite.c b/query_classifier/qc_sqlite/qc_sqlite.c index 366e8e203..29a08b46f 100644 --- a/query_classifier/qc_sqlite/qc_sqlite.c +++ b/query_classifier/qc_sqlite/qc_sqlite.c @@ -3087,7 +3087,7 @@ static int32_t qc_sqlite_thread_init(void) // With this statement we cause sqlite3 to initialize itself, so that it // is not done as part of the actual classification of data. - const char* s = "CREATE TABLE __maxscale__internal__ (int field UNIQUE)"; + const char* s = "CREATE TABLE __maxscale__internal__ (field int UNIQUE)"; size_t len = strlen(s); this_thread.info->query = s;