Skip to content
Permalink
Browse files

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
  • Loading branch information...
midenok committed Aug 21, 2019
1 parent 888f685 commit e8de75db88acdf228237fbebad7f4c8f05e5cc1f
Showing with 2 additions and 1 deletion.
  1. +2 −1 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));

0 comments on commit e8de75d

Please sign in to comment.
You can’t perform that action at this time.