diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2021-11-29 10:33:06 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2021-11-29 10:33:06 +0200 |
commit | 289721de9aca8cdf3bdef1a010477e2d38eebb8d (patch) | |
tree | 50a9f9ea56a7a0b68210e1061ced47951298d2d9 /sql/sql_lex.cc | |
parent | 9962cda52722b77c2a7e0314bbaa2e4f963f55c1 (diff) | |
parent | f5441ef4dac9f3fd5dfe1bfa25a514715fee649f (diff) | |
download | mariadb-git-289721de9aca8cdf3bdef1a010477e2d38eebb8d.tar.gz |
Merge 10.2 into 10.3
Diffstat (limited to 'sql/sql_lex.cc')
-rw-r--r-- | sql/sql_lex.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc index 00e1d30f209..b2ce5adaed6 100644 --- a/sql/sql_lex.cc +++ b/sql/sql_lex.cc @@ -1642,10 +1642,7 @@ int Lex_input_stream::lex_one_token(YYSTYPE *yylval, THD *thd) if (c == '-' || c == '+') c= yyGet(); // Skip sign if (!my_isdigit(cs, c)) - { // No digit after sign - state= MY_LEX_CHAR; - break; - } + return ABORT_SYM; // No digit after sign while (my_isdigit(cs, yyGet())) ; yylval->lex_str= get_token(0, yyLength()); return(FLOAT_NUM); |