MXS-2431 Recognize the XA keyword

Recognize the XA keyword and classify the statement as write.
Needs to be dealt with explicitly as sqlite3 assumes there are
no keywords starting with the letter X.
This commit is contained in:
Johan Wikman
2019-04-12 10:33:53 +03:00
parent 62f2a86a5f
commit 4131f09c16
4 changed files with 33 additions and 12 deletions

View File

@ -500,6 +500,7 @@ static Keyword aKeywordTable[] = {
#ifdef MAXSCALE
{ "WORK", "TK_WORK", ALWAYS },
{ "WRITE", "TK_WRITE", ALWAYS },
{ "XA", "TK_XA", ALWAYS },
#endif
{ "ZEROFILL", "TK_ZEROFILL", ALWAYS },
};