@@ -140,11 +140,7 @@ static my_bool verbose= 0, opt_no_create_info= 0, opt_no_data= 0, opt_no_data_m
140140#define OPT_SYSTEM_TIMEZONES 64
141141static const char *opt_system_type_values[]=
142142 {" all" , " users" , " plugins" , " udfs" , " servers" , " stats" , " timezones" };
143- static TYPELIB opt_system_types=
144- {
145- array_elements (opt_system_type_values), " system dump options" ,
146- opt_system_type_values, NULL
147- };
143+ static TYPELIB opt_system_types=CREATE_TYPELIB_FOR(opt_system_type_values);
148144static ulonglong opt_system= 0ULL ;
149145static my_bool insert_pat_inited= 0 , debug_info_flag= 0 , debug_check_flag= 0 ,
150146 select_field_names_inited= 0 ;
@@ -236,8 +232,7 @@ const char *compatible_mode_names[]=
236232 (1U <<6 ) | /* MAXDB */ \
237233 (1U <<10 ) /* ANSI */ \
238234)
239- TYPELIB compatible_mode_typelib= {array_elements (compatible_mode_names) - 1 ,
240- " " , compatible_mode_names, NULL };
235+ TYPELIB compatible_mode_typelib= CREATE_TYPELIB_FOR(compatible_mode_names);
241236
242237#define MED_ENGINES " MRG_MyISAM, MRG_ISAM, CONNECT, OQGRAPH, SPIDER, VP, FEDERATED"
243238
0 commit comments