mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Mistakes corrected, variable defined.
This commit is contained in:
parent
a4ded0a9b5
commit
99d3f217eb
2 changed files with 3 additions and 4 deletions
|
@ -1350,9 +1350,8 @@ int MYSQLlex(YYSTYPE *yylval, THD *thd)
|
|||
}
|
||||
break;
|
||||
case VALUES:
|
||||
if (thd->lex->current_select->parsing_place == IN_UPDATE_ON_DUP_KEY
|
||||
// || thd->lex->current_select->parsing_place == IN_PARTITIONING
|
||||
)
|
||||
if (thd->lex->current_select->parsing_place == IN_UPDATE_ON_DUP_KEY ||
|
||||
thd->lex->current_select->parsing_place == IN_PART_FUNC)
|
||||
return VALUE_SYM;
|
||||
token= lex_one_token(yylval, thd);
|
||||
lip->add_digest_token(token, yylval);
|
||||
|
|
|
@ -350,7 +350,7 @@ enum enum_parsing_place
|
|||
IN_GROUP_BY,
|
||||
IN_ORDER_BY,
|
||||
IN_UPDATE_ON_DUP_KEY,
|
||||
IN_PARTITIONING,
|
||||
IN_PART_FUNC,
|
||||
PARSING_PLACE_SIZE /* always should be the last */
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue