Commit 8d61a7fb authored by Sergei Golubchik's avatar Sergei Golubchik

compiler warning: this statement may fall through

parent 50bc55d4
...@@ -1430,13 +1430,12 @@ int Lex_input_stream::lex_one_token(YYSTYPE *yylval, THD *thd) ...@@ -1430,13 +1430,12 @@ int Lex_input_stream::lex_one_token(YYSTYPE *yylval, THD *thd)
} }
/* Fall through */ /* Fall through */
case MY_LEX_CHAR: // Unknown or single char token case MY_LEX_CHAR: // Unknown or single char token
{
if (c == '%' && (m_thd->variables.sql_mode & MODE_ORACLE)) if (c == '%' && (m_thd->variables.sql_mode & MODE_ORACLE))
{ {
next_state= MY_LEX_START; next_state= MY_LEX_START;
return PERCENT_ORACLE_SYM; return PERCENT_ORACLE_SYM;
} }
} /* Fall through */
case MY_LEX_SKIP: // This should not happen case MY_LEX_SKIP: // This should not happen
if (c != ')') if (c != ')')
next_state= MY_LEX_START; // Allow signed numbers next_state= MY_LEX_START; // Allow signed numbers
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment