58
53
const char *path, const char *wild, bool dir);
61
int store_create_info(Session *session, TableList *table_list, String *packet,
62
HA_CREATE_INFO *create_info_arg);
63
bool store_db_create_info(Session *session, const char *dbname, String *buffer,
64
HA_CREATE_INFO *create_info);
56
int store_create_info(TableList *table_list, String *packet, HA_CREATE_INFO *create_info_arg);
57
bool store_db_create_info(const char *dbname, String *buffer, HA_CREATE_INFO *create_info);
65
58
bool schema_table_store_record(Session *session, Table *table);
67
int get_quote_char_for_identifier(Session *session, const char *name,
60
int get_quote_char_for_identifier();
70
ST_SCHEMA_TABLE *find_schema_table(Session *session, const char* table_name);
71
ST_SCHEMA_TABLE *get_schema_table(enum enum_schema_tables schema_table_idx);
72
int make_schema_select(Session *session, SELECT_LEX *sel,
62
InfoSchemaTable *find_schema_table(const char* table_name);
63
InfoSchemaTable *get_schema_table(enum enum_schema_tables schema_table_idx);
64
int make_schema_select(Session *session, Select_Lex *sel,
73
65
enum enum_schema_tables schema_table_idx);
74
66
int mysql_schema_table(Session *session, LEX *lex, TableList *table_list);
75
67
bool get_schema_tables_result(JOIN *join,
76
68
enum enum_schema_table_state executed_place);
77
enum enum_schema_tables get_schema_table_idx(ST_SCHEMA_TABLE *schema_table);
69
enum enum_schema_tables get_schema_table_idx(InfoSchemaTable *schema_table);
79
71
bool mysqld_show_open_tables(Session *session,const char *wild);
80
72
bool mysqld_show_logs(Session *session);
81
void append_identifier(Session *session, String *packet, const char *name,
83
73
void mysqld_list_fields(Session *session,TableList *table, const char *wild);
84
74
int mysqld_dump_create_info(Session *session, TableList *table_list, int fd);
85
bool mysqld_show_create(Session *session, TableList *table_list);
75
bool drizzled_show_create(Session *session, TableList *table_list);
86
76
bool mysqld_show_create_db(Session *session, char *dbname, HA_CREATE_INFO *create);
88
78
int mysqld_show_status(Session *session);
89
79
int mysqld_show_variables(Session *session,const char *wild);
90
80
bool mysqld_show_storage_engines(Session *session);
91
bool mysqld_show_authors(Session *session);
92
bool mysqld_show_contributors(Session *session);
93
bool mysqld_show_privileges(Session *session);
94
81
bool mysqld_show_column_types(Session *session);
95
82
void mysqld_list_processes(Session *session,const char *user, bool verbose);
96
bool mysqld_help (Session *session, const char *text);
97
83
void calc_sum_of_all_status(STATUS_VAR *to);
99
void append_definer(Session *session, String *buffer, const LEX_STRING *definer_user,
100
const LEX_STRING *definer_host);
102
85
int add_status_vars(SHOW_VAR *list);
103
86
void remove_status_vars(SHOW_VAR *list);
104
87
void init_status_vars();
105
88
void free_status_vars();
106
89
void reset_status_vars();
90
void add_infoschema_table(InfoSchemaTable *schema_table);
91
void remove_infoschema_table(InfoSchemaTable *table);
108
93
#endif /* DRIZZLE_SERVER_SHOW_H */