summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <hf@deer.(none)>2005-08-08 19:04:10 +0500
committerunknown <hf@deer.(none)>2005-08-08 19:04:10 +0500
commitd1b163ecae6dff5b719f1932746ec7a7ce83b7e0 (patch)
treea5f45e9645304dd1b7eed4afea30dbde80bcdc4f /sql
parent630a23ba00d3c16d0696c9e78be3e1bf5790c7e7 (diff)
downloadmariadb-git-d1b163ecae6dff5b719f1932746ec7a7ce83b7e0.tar.gz
Fix for bug #11207 (SET GLOBAL TRANSACTION ISOLATION LEVEL is broken)
sql/sql_yacc.yy: i think the '!' is wrong here
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_yacc.yy2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy
index b680787b9a3..2b80cd128b3 100644
--- a/sql/sql_yacc.yy
+++ b/sql/sql_yacc.yy
@@ -7817,7 +7817,7 @@ sys_option_value:
| option_type TRANSACTION_SYM ISOLATION LEVEL_SYM isolation_types
{
LEX *lex=Lex;
- if (!$1)
+ if ($1)
lex->option_type= (enum_var_type)$1;
lex->var_list.push_back(new set_var(lex->option_type,
find_sys_var("tx_isolation"),