>>>>> "Ma" == Ma Fangyan <mfangyan@stripped> writes:
Ma> I want to add some new SQL statements in MySQL(such as:CHECK table
Ma> tablename), and I do as following:
Ma> 1. Add new symbol(CHECK) in lex.h
Ma> 2. In sql_yacc.h :
Ma> Define a new token(CHECK).
Ma> define a new type(check).
Ma> add 'check' to verb_clause list.
Ma> define the action of 'check'.
Ma> But I will get ERROR 1064:You have an error in your SQL syntax near 'check
Ma> table tab1' at line 1.
The above looks ok.
Can you please send a context diff of lex.h and sql_yacc.yy to