~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/show.h

Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
class Table;
55
55
typedef class Item COND;
56
56
 
57
 
class NormalisedDatabaseName;
58
 
 
59
 
 
60
 
typedef struct system_status_var STATUS_VAR;
61
 
 
62
 
extern STATUS_VAR global_status_var;
 
57
extern struct system_status_var global_status_var;
63
58
 
64
59
typedef struct st_lookup_field_values
65
60
{
75
70
                             plugin::InfoSchemaTable *schema_table);
76
71
int make_db_list(Session *session, std::vector<LEX_STRING*> &files,
77
72
                 LOOKUP_FIELD_VALUES *lookup_field_vals, bool *with_i_schema);
78
 
SHOW_VAR *getFrontOfStatusVars();
79
 
SHOW_VAR *getCommandStatusVars();
 
73
drizzle_show_var *getFrontOfStatusVars();
 
74
drizzle_show_var *getCommandStatusVars();
80
75
 
81
76
int store_create_info(TableList *table_list, String *packet, bool is_if_not_exists);
82
77
 
88
83
                        const std::string& schema_table_name);
89
84
 
90
85
bool mysqld_show_open_tables(Session *session,const char *wild);
91
 
bool mysqld_show_logs(Session *session);
92
86
void mysqld_list_fields(Session *session,TableList *table, const char *wild);
93
87
int mysqld_dump_create_info(Session *session, TableList *table_list, int fd);
94
88
bool drizzled_show_create(Session *session, TableList *table_list, bool is_if_not_exists);
95
89
bool mysqld_show_create_db(Session *session, char *dbname, bool if_not_exists);
96
90
 
97
 
int mysqld_show_status(Session *session);
98
 
int mysqld_show_variables(Session *session,const char *wild);
99
 
bool mysqld_show_storage_engines(Session *session);
100
91
bool mysqld_show_column_types(Session *session);
101
 
void mysqld_list_processes(Session *session,const char *user);
102
 
void calc_sum_of_all_status(STATUS_VAR *to);
 
92
void calc_sum_of_all_status(struct system_status_var *to);
103
93
 
104
 
int add_status_vars(SHOW_VAR *list);
105
 
void remove_status_vars(SHOW_VAR *list);
 
94
int add_status_vars(drizzle_show_var *list);
 
95
void remove_status_vars(drizzle_show_var *list);
106
96
void init_status_vars();
107
97
void free_status_vars();
108
98
void reset_status_vars();