1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

cleanup: CREATE_TYPELIB_FOR() helper

This commit is contained in:
Sergei Golubchik
2024-08-30 11:04:14 +02:00
parent 9fa31c1bd9
commit d046aca0c7
39 changed files with 317 additions and 486 deletions

View File

@@ -62,8 +62,7 @@ extern struct st_maria_plugin *mysql_mandatory_plugins[];
const char *global_plugin_typelib_names[]=
{ "OFF", "ON", "FORCE", "FORCE_PLUS_PERMANENT", NULL };
static TYPELIB global_plugin_typelib=
{ array_elements(global_plugin_typelib_names)-1,
"", global_plugin_typelib_names, NULL };
CREATE_TYPELIB_FOR(global_plugin_typelib_names);
static I_List<i_string> opt_plugin_load_list;
I_List<i_string> *opt_plugin_load_list_ptr= &opt_plugin_load_list;