summaryrefslogtreecommitdiff
path: root/sql/sql_show.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r--sql/sql_show.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index 38b3d62d539..7ed4c3b5696 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -5045,7 +5045,7 @@ public:
const char* msg, Sql_condition ** cond_hdl)
{
if (sql_errno == ER_TRG_NO_DEFINER || sql_errno == ER_TRG_NO_CREATION_CTX
- || sql_errno == ER_PARSE_ERROR)
+ || (sql_errno == ER_PARSE_ERROR && thd->is_parsing_IS_table))
return true;
if (*level != Sql_condition::WARN_LEVEL_ERROR)