1 #ifndef SQL_SERVERS_INCLUDED
2 #define SQL_SERVERS_INCLUDED
19 #include "my_global.h"
23 typedef struct st_lex_server_options LEX_SERVER_OPTIONS;
31 uint server_name_length;
32 char *db, *scheme, *username, *password, *socket, *owner, *host, *sport;
36 bool servers_init(
bool dont_read_server_table);
37 bool servers_reload(THD *thd);
38 void servers_free(
bool end=0);
41 bool create_server(THD *thd, LEX_SERVER_OPTIONS *server_options);
44 bool drop_server(THD *thd, LEX_SERVER_OPTIONS *server_options,
bool if_exists);
47 bool alter_server(THD *thd, LEX_SERVER_OPTIONS *server_options);