MXS-2413 Parse 'DROP DATABASE [IF EXISTS] db' completely

This commit is contained in:
Johan Wikman
2019-03-29 10:09:38 +02:00
parent 24c763d701
commit 514dd96301
4 changed files with 41 additions and 12 deletions

View File

@ -216,8 +216,10 @@ static Keyword aKeywordTable[] = {
{ "CURRENT_TIMESTAMP","TK_CTIME_KW", ALWAYS },
#ifdef MAXSCALE
{ "DATA", "TK_DATA", ALWAYS },
#endif
{ "DATABASE", "TK_DATABASE", ALWAYS },
#else
{ "DATABASE", "TK_DATABASE", ATTACH },
#endif
#ifdef MAXSCALE
{ "DATABASES", "TK_DATABASES_KW", ALWAYS },
{ "DEALLOCATE", "TK_DEALLOCATE", ALWAYS },