diff options
Diffstat (limited to 'sql/sql_tvc.cc')
-rw-r--r-- | sql/sql_tvc.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_tvc.cc b/sql/sql_tvc.cc index b9219515b48..63dc5749b1d 100644 --- a/sql/sql_tvc.cc +++ b/sql/sql_tvc.cc @@ -705,6 +705,7 @@ st_select_lex *wrap_tvc(THD *thd, st_select_lex *tvc_sl, wrapper_sl->parent_lex= lex; /* Used in init_query. */ wrapper_sl->init_query(); wrapper_sl->init_select(); + wrapper_sl->is_tvc_wrapper= true; wrapper_sl->nest_level= tvc_sl->nest_level; wrapper_sl->parsing_place= tvc_sl->parsing_place; |