diff options
author | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2009-04-03 16:46:00 -0300 |
---|---|---|
committer | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2009-04-03 16:46:00 -0300 |
commit | 54bf80b63345647492a7ec0007e016ae2fd52ad5 (patch) | |
tree | 043456df5b0aad4de66f579a537690947263e592 /sql/sql_lex.cc | |
parent | 102de8f5c35d63453c2e240473ccb5fce8d2918a (diff) | |
parent | 72e978828edb6b6cc045e6c728747dafd46b8732 (diff) | |
download | mariadb-git-54bf80b63345647492a7ec0007e016ae2fd52ad5.tar.gz |
Merge Bug#43230 into mysql-5.1-bugteam
Diffstat (limited to 'sql/sql_lex.cc')
-rw-r--r-- | sql/sql_lex.cc | 1 |
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 |