summaryrefslogtreecommitdiff
path: root/sql/sql_lex.cc
diff options
context:
space:
mode:
authorDavi Arnaut <Davi.Arnaut@Sun.COM>2009-04-03 16:46:00 -0300
committerDavi Arnaut <Davi.Arnaut@Sun.COM>2009-04-03 16:46:00 -0300
commitec762cbd8220a5b7c1e1a8c9f1f8dbffac7e64ef (patch)
tree043456df5b0aad4de66f579a537690947263e592 /sql/sql_lex.cc
parent48f435316d4ea7fbf344c01d6dcfd3d5d6d4c908 (diff)
parentaebaf079d1611532767dd0c9b183ca73a07b6ac9 (diff)
downloadmariadb-git-ec762cbd8220a5b7c1e1a8c9f1f8dbffac7e64ef.tar.gz
Merge Bug#43230 into mysql-5.1-bugteam
Diffstat (limited to 'sql/sql_lex.cc')
-rw-r--r--sql/sql_lex.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc
index e6eb9a8a44e..69b8c486d5f 100644
--- a/sql/sql_lex.cc
+++ b/sql/sql_lex.cc
@@ -348,6 +348,7 @@ void lex_start(THD *thd)
lex->nest_level=0 ;
lex->allow_sum_func= 0;
lex->in_sum_func= NULL;
+ lex->protect_against_global_read_lock= FALSE;
/*
ok, there must be a better solution for this, long-term
I tried "bzero" in the sql_yacc.yy code, but that for