Commit e8de75db authored by Aleksey Midenkov's avatar Aleksey Midenkov

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
parent 888f6852
...@@ -444,7 +444,8 @@ uint Explain_union::make_union_table_name(char *buf) ...@@ -444,7 +444,8 @@ uint Explain_union::make_union_table_name(char *buf)
break; break;
default: default:
DBUG_ASSERT(0); DBUG_ASSERT(0);
type= {NULL, 0}; type.str= NULL;
type.length= 0;
} }
memcpy(buf, type.str, (len= (uint)type.length)); memcpy(buf, type.str, (len= (uint)type.length));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment