summaryrefslogtreecommitdiff
path: root/sql/sql_lex.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_lex.cc')
-rw-r--r--sql/sql_lex.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc
index ce37318ca01..8a705a7438b 100644
--- a/sql/sql_lex.cc
+++ b/sql/sql_lex.cc
@@ -144,7 +144,7 @@ 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= lex->derived_tables= FALSE;
lex->view_prepare_mode= FALSE;
lex->lock_option= TL_READ;
lex->found_colon= 0;