Skip to content

Commit e8de75d

Browse files
committed
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
1 parent 888f685 commit e8de75d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sql/sql_explain.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,8 @@ uint Explain_union::make_union_table_name(char *buf)
444444
break;
445445
default:
446446
DBUG_ASSERT(0);
447-
type= {NULL, 0};
447+
type.str= NULL;
448+
type.length= 0;
448449
}
449450
memcpy(buf, type.str, (len= (uint)type.length));
450451

0 commit comments

Comments
 (0)