Commit 7debdee8 authored by unknown's avatar unknown

Fix small glitch during parsing of ALTER EVENT xyz

with only COMMENT clause. Strangely it has manifestated itself
only on two platforms. This is a fix for bug#23423 
"Syntax error for "ALTER EVENT ... COMMENT ..." on just two platforms"


sql/sql_yacc.yy:
  if COMMENT is used mark it as used.
  There was a missing setting to 1 of $$. If COMMENT
  was used in combinations with other clauses then it
  was passing.
parent 4681c066
......@@ -1421,6 +1421,7 @@ opt_ev_comment: /* empty */ { $$= 0; }
| COMMENT_SYM TEXT_STRING_sys
{
Lex->comment= Lex->event_parse_data->comment= $2;
$$= 1;
}
;
......
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