973
static int show_open_tables(drizzle_show_var *var, char *buff)
975
var->type= SHOW_LONG;
977
*((long *)buff)= (long)cached_open_tables();
981
static int show_table_definitions(drizzle_show_var *var, char *buff)
983
var->type= SHOW_LONG;
985
*((long *)buff)= (long)cached_table_definitions();
989
static st_show_var_func_container
990
show_open_tables_cont= { &show_open_tables };
991
static st_show_var_func_container
992
show_table_definitions_cont= { &show_table_definitions };
993
static st_show_var_func_container
994
show_starttime_cont= { &show_starttime };
995
static st_show_var_func_container
996
show_flushstatustime_cont= { &show_flushstatustime };
973
static st_show_var_func_container show_starttime_cont= { &show_starttime };
975
static st_show_var_func_container show_flushstatustime_cont= { &show_flushstatustime };
999
978
Variables shown by SHOW STATUS in alphabetical order
1072
1051
{"Key_writes", (char*) offsetof(KEY_CACHE, global_cache_write), SHOW_KEY_CACHE_LONGLONG},
1073
1052
{"Last_query_cost", (char*) offsetof(system_status_var, last_query_cost), SHOW_DOUBLE_STATUS},
1074
1053
{"Max_used_connections", (char*) &max_used_connections, SHOW_INT},
1075
{"Open_table_definitions", (char*) &show_table_definitions_cont, SHOW_FUNC},
1076
{"Open_tables", (char*) &show_open_tables_cont, SHOW_FUNC},
1077
{"Opened_tables", (char*) offsetof(system_status_var, opened_tables), SHOW_LONG_STATUS},
1078
{"Opened_table_definitions", (char*) offsetof(system_status_var, opened_shares), SHOW_LONG_STATUS},
1079
1054
{"Questions", (char*) offsetof(system_status_var, questions), SHOW_LONG_STATUS},
1080
1055
{"Select_full_join", (char*) offsetof(system_status_var, select_full_join_count), SHOW_LONG_STATUS},
1081
1056
{"Select_full_range_join", (char*) offsetof(system_status_var, select_full_range_join_count), SHOW_LONG_STATUS},