~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/show.h

  • Committer: Monty Taylor
  • Date: 2008-11-12 17:42:40 UTC
  • mto: This revision was merged to the branch mainline in revision 584.
  • Revision ID: monty@inaugust.com-20081112174240-l2vg9lnzbmjc3uyk
More header cleanup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#ifndef DRIZZLE_SERVER_SHOW_H
28
28
#define DRIZZLE_SERVER_SHOW_H
29
29
 
 
30
#include <drizzled/global.h>
 
31
#include <stdint.h>
 
32
 
 
33
#include <drizzled/sql_list.h>
 
34
 
 
35
/* Forward declarations */
 
36
class String;
 
37
class JOIN;
 
38
typedef struct st_select_lex SELECT_LEX;
 
39
class Session;
 
40
struct st_ha_create_information;
 
41
typedef st_ha_create_information HA_CREATE_INFO;
 
42
struct TableList;
 
43
class ST_SCHEMA_TABLE;
 
44
 
 
45
enum find_files_result {
 
46
  FIND_FILES_OK,
 
47
  FIND_FILES_OOM,
 
48
  FIND_FILES_DIR
 
49
};
 
50
 
 
51
find_files_result find_files(Session *session, List<LEX_STRING> *files, const char *db,
 
52
                             const char *path, const char *wild, bool dir);
 
53
 
 
54
 
 
55
int store_create_info(Session *session, TableList *table_list, String *packet,
 
56
                      HA_CREATE_INFO  *create_info_arg);
 
57
bool store_db_create_info(Session *session, const char *dbname, String *buffer,
 
58
                          HA_CREATE_INFO *create_info);
 
59
bool schema_table_store_record(Session *session, Table *table);
 
60
 
 
61
int get_quote_char_for_identifier(Session *session, const char *name,
 
62
                                  uint32_t length);
 
63
 
 
64
ST_SCHEMA_TABLE *find_schema_table(Session *session, const char* table_name);
 
65
ST_SCHEMA_TABLE *get_schema_table(enum enum_schema_tables schema_table_idx);
 
66
int make_schema_select(Session *session,  SELECT_LEX *sel,
 
67
                       enum enum_schema_tables schema_table_idx);
 
68
int mysql_schema_table(Session *session, LEX *lex, TableList *table_list);
 
69
bool get_schema_tables_result(JOIN *join,
 
70
                              enum enum_schema_table_state executed_place);
 
71
enum enum_schema_tables get_schema_table_idx(ST_SCHEMA_TABLE *schema_table);
 
72
 
30
73
bool mysqld_show_open_tables(Session *session,const char *wild);
31
74
bool mysqld_show_logs(Session *session);
32
75
void append_identifier(Session *session, String *packet, const char *name,
36
79
bool mysqld_show_create(Session *session, TableList *table_list);
37
80
bool mysqld_show_create_db(Session *session, char *dbname, HA_CREATE_INFO *create);
38
81
 
39
 
void mysqld_list_processes(Session *session,const char *user,bool verbose);
40
82
int mysqld_show_status(Session *session);
41
83
int mysqld_show_variables(Session *session,const char *wild);
42
84
bool mysqld_show_storage_engines(Session *session);
44
86
bool mysqld_show_contributors(Session *session);
45
87
bool mysqld_show_privileges(Session *session);
46
88
bool mysqld_show_column_types(Session *session);
 
89
void mysqld_list_processes(Session *session,const char *user, bool verbose);
47
90
bool mysqld_help (Session *session, const char *text);
48
91
void calc_sum_of_all_status(STATUS_VAR *to);
49
92