Commit 9c78cdff authored by hf@deer.(none)'s avatar hf@deer.(none)

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

parent 8e09db01
...@@ -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