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
This commit is contained in:
Aleksey Midenkov 2019-08-21 11:37:40 +03:00
parent 888f685226
commit e8de75db88

View File

@ -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));