MXS-1874 Handle SET STATEMENT ... FOR ...

The SET STATEMENT ... FOR part can be ignored and the type
of the statement be whatever the type of the part following
FOR is.
This commit is contained in:
Johan Wikman
2018-05-18 12:18:03 +03:00
parent b12f037b24
commit 001ae8e29a
2 changed files with 10 additions and 1 deletions

View File

@ -442,6 +442,7 @@ static Keyword aKeywordTable[] = {
{ "SET", "TK_SET", ALWAYS },
#ifdef MAXSCALE
{ "START", "TK_START", ALWAYS },
{ "STATEMENT", "TK_STATEMENT", ALWAYS },
{ "STATUS", "TK_STATUS", ALWAYS },
{ "STRAIGHT_JOIN", "TK_STRAIGHT_JOIN",ALWAYS },
#endif