[Maria-developers] Reserved words

How can one find a definitive list of reserved words for a particular version? The comments in sql/lex.h say that that's a list of all reserved words and functions, but it appears to contain some words that are neither (such as ACTION). SELECT * FROM mysql.help_keyword also lists ACTION ACTION is listed in the MYSQL docs as an example of one of the keywords that MySQL permits "because many people previously used them"

Hi, Ian! On Jul 12, Ian Gilfillan wrote:
How can one find a definitive list of reserved words for a particular version? The comments in sql/lex.h say that that's a list of all reserved words and functions, but it appears to contain some words that are neither (such as ACTION).
Reserved words are keywords (listed in the sql/lex.h) that are not listed in the 'keyword' rule of sql_yacc.yy (and 'keyword_sp' rule, that 'keyword' rule includes). Regards, Sergei
participants (2)
-
Ian Gilfillan
-
Sergei Golubchik