summaryrefslogtreecommitdiff
path: root/sql/sql_explain.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_explain.cc')
-rw-r--r--sql/sql_explain.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_explain.cc b/sql/sql_explain.cc
index ca538752627..8ded81788a2 100644
--- a/sql/sql_explain.cc
+++ b/sql/sql_explain.cc
@@ -444,6 +444,7 @@ uint Explain_union::make_union_table_name(char *buf)
break;
default:
DBUG_ASSERT(0);
+ type= {NULL, 0};
}
memcpy(buf, type.str, (len= (uint)type.length));