← Back to team overview

maria-developers team mailing list archive

Re: Reserved words

 

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


References