Commit 99d3f217 authored by Galina Shalygina's avatar Galina Shalygina

Mistakes corrected, variable defined.

parent a4ded0a9
...@@ -1350,9 +1350,8 @@ int MYSQLlex(YYSTYPE *yylval, THD *thd) ...@@ -1350,9 +1350,8 @@ int MYSQLlex(YYSTYPE *yylval, THD *thd)
} }
break; break;
case VALUES: case VALUES:
if (thd->lex->current_select->parsing_place == IN_UPDATE_ON_DUP_KEY if (thd->lex->current_select->parsing_place == IN_UPDATE_ON_DUP_KEY ||
// || thd->lex->current_select->parsing_place == IN_PARTITIONING thd->lex->current_select->parsing_place == IN_PART_FUNC)
)
return VALUE_SYM; return VALUE_SYM;
token= lex_one_token(yylval, thd); token= lex_one_token(yylval, thd);
lip->add_digest_token(token, yylval); lip->add_digest_token(token, yylval);
......
...@@ -350,7 +350,7 @@ enum enum_parsing_place ...@@ -350,7 +350,7 @@ enum enum_parsing_place
IN_GROUP_BY, IN_GROUP_BY,
IN_ORDER_BY, IN_ORDER_BY,
IN_UPDATE_ON_DUP_KEY, IN_UPDATE_ON_DUP_KEY,
IN_PARTITIONING, IN_PART_FUNC,
PARSING_PLACE_SIZE /* always should be the last */ PARSING_PLACE_SIZE /* always should be the last */
}; };
......
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