[Maria-developers] Reserved words
![](https://secure.gravatar.com/avatar/c73b6f1f86ce97f7bf593a2c0b1ca8fc.jpg?s=120&d=mm&r=g)
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"
![](https://secure.gravatar.com/avatar/39b623a1559cf9c69ac3d9d4fb44e7fe.jpg?s=120&d=mm&r=g)
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