diff options
author | Alexander Barkov <bar@mariadb.com> | 2019-07-09 15:10:45 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2019-07-09 15:10:45 +0400 |
commit | 70c2bde931246ea4966d82fa56773b8ef1e0074f (patch) | |
tree | 219073f0607efd2ee1bcaa18dd121cc4af825a6b /sql/sql_lex.cc | |
parent | 69749629455605c64f7bb1a2012e9cbe13f61b76 (diff) | |
download | mariadb-git-70c2bde931246ea4966d82fa56773b8ef1e0074f.tar.gz |
MDEV-19996 Bison grammar: turn singe-character operators into <kwd>
Diffstat (limited to 'sql/sql_lex.cc')
-rw-r--r-- | sql/sql_lex.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc index 40e5f4e9155..784583dd2b1 100644 --- a/sql/sql_lex.cc +++ b/sql/sql_lex.cc @@ -1510,6 +1510,7 @@ int Lex_input_stream::lex_one_token(YYSTYPE *yylval, THD *thd) case MY_LEX_SKIP: // This should not happen if (c != ')') next_state= MY_LEX_START; // Allow signed numbers + yylval->kwd.set_keyword(m_tok_start, 1); return((int) c); case MY_LEX_MINUS_OR_COMMENT: |