Commit d1b163ec authored by unknown's avatar unknown

Fix for bug #11207 (SET GLOBAL TRANSACTION ISOLATION LEVEL is broken)


sql/sql_yacc.yy:
  i think the '!' is wrong here
parent 630a23ba
...@@ -7817,7 +7817,7 @@ sys_option_value: ...@@ -7817,7 +7817,7 @@ sys_option_value:
| option_type TRANSACTION_SYM ISOLATION LEVEL_SYM isolation_types | option_type TRANSACTION_SYM ISOLATION LEVEL_SYM isolation_types
{ {
LEX *lex=Lex; LEX *lex=Lex;
if (!$1) if ($1)
lex->option_type= (enum_var_type)$1; lex->option_type= (enum_var_type)$1;
lex->var_list.push_back(new set_var(lex->option_type, lex->var_list.push_back(new set_var(lex->option_type,
find_sys_var("tx_isolation"), find_sys_var("tx_isolation"),
......
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