From e8de75db88acdf228237fbebad7f4c8f05e5cc1f Mon Sep 17 00:00:00 2001 From: Aleksey Midenkov Date: Wed, 21 Aug 2019 11:37:40 +0300 Subject: [PATCH] MDEV-19740 Debug build of 10.3.15 FTBFS Fix debug build failing with error: extended initializer lists only available with -std=c++11 or -std=gnu++11 --- sql/sql_explain.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sql/sql_explain.cc b/sql/sql_explain.cc index 8ded81788a2..70b177a556d 100644 --- a/sql/sql_explain.cc +++ b/sql/sql_explain.cc @@ -444,7 +444,8 @@ uint Explain_union::make_union_table_name(char *buf) break; default: DBUG_ASSERT(0); - type= {NULL, 0}; + type.str= NULL; + type.length= 0; } memcpy(buf, type.str, (len= (uint)type.length));