Commit ff970876 authored by anozdrin/alik@quad's avatar anozdrin/alik@quad

Fix for Bug#31947: Declare with a reserved word succeeded.

READ_ONLY token was accidentally placed into wrong place
('ident' rule). The proper place is in the 'keyword_sp' rule.

The manual should be re-generated after this patch, because
the manual depends on the 'keyword_sp' rule.
parent 2905909d
...@@ -10312,12 +10312,6 @@ TEXT_STRING_filesystem: ...@@ -10312,12 +10312,6 @@ TEXT_STRING_filesystem:
ident: ident:
IDENT_sys { $$=$1; } IDENT_sys { $$=$1; }
| READ_ONLY_SYM
{
THD *thd= YYTHD;
$$.str= thd->strmake("read_only",9);
$$.length= 9;
}
| keyword | keyword
{ {
THD *thd= YYTHD; THD *thd= YYTHD;
...@@ -10622,6 +10616,7 @@ keyword_sp: ...@@ -10622,6 +10616,7 @@ keyword_sp:
| QUARTER_SYM {} | QUARTER_SYM {}
| QUERY_SYM {} | QUERY_SYM {}
| QUICK {} | QUICK {}
| READ_ONLY_SYM {}
| REBUILD_SYM {} | REBUILD_SYM {}
| RECOVER_SYM {} | RECOVER_SYM {}
| REDO_BUFFER_SIZE_SYM {} | REDO_BUFFER_SIZE_SYM {}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment