diff options
Diffstat (limited to 'sql/sql_lex.cc')
-rw-r--r-- | sql/sql_lex.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc index ce37318ca01..12e4d912f15 100644 --- a/sql/sql_lex.cc +++ b/sql/sql_lex.cc @@ -144,8 +144,9 @@ void lex_start(THD *thd, uchar *buf,uint length) lex->select_lex.init_order(); lex->select_lex.group_list.empty(); lex->describe= 0; - lex->derived_tables= FALSE; + lex->subqueries= FALSE; lex->view_prepare_mode= FALSE; + lex->derived_tables= 0; lex->lock_option= TL_READ; lex->found_colon= 0; lex->safe_to_cache_query= 1; |