[CP] [parser]: const in /*!xxx */ shouldn't be parameterized.

This commit is contained in:
wangt1xiuyi
2023-04-18 13:11:41 +00:00
committed by ob-robot
parent 4ebbfc88a9
commit 972723ed66
4 changed files with 20 additions and 26 deletions

View File

@ -1009,7 +1009,11 @@ INTNUM { $$ = $1; $$->param_num_ = 1;}
;
expr_const:
literal { $$ = $1; }
literal
{
$$ = $1;
CHECK_MYSQL_COMMENT(result, $$);
}
| SYSTEM_VARIABLE { $$ = $1; }
| QUESTIONMARK { $$ = $1; }
| global_or_session_alias '.' column_name