From 041b7751503a075a8d07e8fda0d784e29dd6365a Mon Sep 17 00:00:00 2001 From: Johan Wikman Date: Wed, 21 Mar 2018 11:14:16 +0200 Subject: [PATCH] MXS-1730 Add change that fixes the problem ENGINE is a keyword but not a reserved word, so it must silently convert into an identifier if it is used in a context where it cannot be used as a keyword. --- query_classifier/qc_sqlite/sqlite-src-3110100/src/parse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/query_classifier/qc_sqlite/sqlite-src-3110100/src/parse.y b/query_classifier/qc_sqlite/sqlite-src-3110100/src/parse.y index fad997933..73c0e489a 100644 --- a/query_classifier/qc_sqlite/sqlite-src-3110100/src/parse.y +++ b/query_classifier/qc_sqlite/sqlite-src-3110100/src/parse.y @@ -596,7 +596,7 @@ columnid(A) ::= nm(X). { BINARY /*CASCADE*/ CAST CLOSE COLUMNKW COLUMNS COMMENT CONCURRENT /*CONFLICT*/ DATA /*DATABASE*/ DEALLOCATE DEFERRED /*DESC*/ /*DETACH*/ DUMPFILE - /*EACH*/ END ENUM EXCLUSIVE /*EXPLAIN*/ + /*EACH*/ END ENGINE ENUM EXCLUSIVE /*EXPLAIN*/ FIRST FLUSH /*FOR*/ GLOBAL // TODO: IF is a reserved word and should not automatically convert into an identifer.