summaryrefslogtreecommitdiff
path: root/sql/gen_lex_token.cc
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2018-11-12 00:01:12 +0400
committerAlexander Barkov <bar@mariadb.com>2018-11-12 00:01:12 +0400
commit7f4aee22335c24a410d59978bf1cf20fc3fe90e3 (patch)
tree8adb827acaab033d4537ece20747cff11f4d5eff /sql/gen_lex_token.cc
parentf5855ba03deef188516453b71e56d4239f74a653 (diff)
downloadmariadb-git-7f4aee22335c24a410d59978bf1cf20fc3fe90e3.tar.gz
MDEV-17666 sql_mode=ORACLE: Keyword ELSEIF should not be reserved
Diffstat (limited to 'sql/gen_lex_token.cc')
-rw-r--r--sql/gen_lex_token.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/gen_lex_token.cc b/sql/gen_lex_token.cc
index aee0f12a4fe..f8c511e53ff 100644
--- a/sql/gen_lex_token.cc
+++ b/sql/gen_lex_token.cc
@@ -258,7 +258,8 @@ void compute_tokens()
set_start_expr_token(RETURN_MARIADB_SYM);
set_start_expr_token(RETURN_ORACLE_SYM);
set_start_expr_token(IF_SYM);
- set_start_expr_token(ELSEIF_SYM);
+ set_start_expr_token(ELSEIF_MARIADB_SYM);
+ set_start_expr_token(ELSEIF_ORACLE_SYM);
set_start_expr_token(CASE_SYM);
set_start_expr_token(WHEN_SYM);
set_start_expr_token(WHILE_SYM);