diff options
Diffstat (limited to 'sql/sp.cc')
-rw-r--r-- | sql/sp.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sp.cc b/sql/sp.cc index ac9203ffb8a..4696ab8f0ae 100644 --- a/sql/sp.cc +++ b/sql/sp.cc @@ -870,6 +870,7 @@ static sp_head *sp_compile(THD *thd, String *defstr, sql_mode_t sql_mode, thd->lex->sphead= parent; thd->push_internal_handler(&warning_handler); thd->spcont= 0; + thd->is_parsing_IS_table=true; if (parse_sql(thd, & parser_state, creation_ctx) || thd->lex == NULL) { |