File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -13088,7 +13088,15 @@ option_value:
13088
13088
MYSQL_YYABORT;
13089
13089
Lex->var_list .push_back (var);
13090
13090
}
13091
- | ' @' ' @' opt_var_ident_type internal_variable_name equal set_expr_or_default
13091
+ | ' @' ' @' opt_var_ident_type internal_variable_name
13092
+ {
13093
+ if ($4 .var == trg_new_row_fake_var)
13094
+ {
13095
+ my_parse_error (ER (ER_SYNTAX_ERROR));
13096
+ MYSQL_YYABORT;
13097
+ }
13098
+ }
13099
+ equal set_expr_or_default
13092
13100
{
13093
13101
THD *thd= YYTHD;
13094
13102
struct sys_var_with_base tmp= $4 ;
@@ -13098,7 +13106,7 @@ option_value:
13098
13106
if (find_sys_var_null_base (thd, &tmp))
13099
13107
MYSQL_YYABORT;
13100
13108
}
13101
- if (set_system_variable (thd, &tmp, $3 , $6 ))
13109
+ if (set_system_variable (thd, &tmp, $3 , $7 ))
13102
13110
MYSQL_YYABORT;
13103
13111
}
13104
13112
| charset old_or_new_charset_name_or_default
You can’t perform that action at this time.
0 commit comments