~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/show.h

Merged Trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
struct st_ha_create_information;
39
39
typedef st_ha_create_information HA_CREATE_INFO;
40
40
struct TableList;
41
 
struct InfoSchemaTable;
 
41
class InfoSchemaTable;
42
42
 
43
43
typedef struct system_status_var STATUS_VAR;
44
44
 
49
49
  FIND_FILES_DIR
50
50
};
51
51
 
 
52
typedef struct st_lookup_field_values
 
53
{
 
54
  LEX_STRING db_value, table_value;
 
55
  bool wild_db_value, wild_table_value;
 
56
} LOOKUP_FIELD_VALUES;
 
57
 
52
58
find_files_result find_files(Session *session, List<LEX_STRING> *files, const char *db,
53
59
                             const char *path, const char *wild, bool dir);
54
 
 
 
60
bool calc_lookup_values_from_cond(Session *session, COND *cond, TableList *table,
 
61
                                  LOOKUP_FIELD_VALUES *lookup_field_vals);
 
62
bool get_lookup_field_values(Session *session, COND *cond, TableList *tables,
 
63
                             LOOKUP_FIELD_VALUES *lookup_field_values);
 
64
int make_db_list(Session *session, List<LEX_STRING> *files,
 
65
                 LOOKUP_FIELD_VALUES *lookup_field_vals,
 
66
                 bool *with_i_schema);
55
67
 
56
68
int store_create_info(TableList *table_list, String *packet, HA_CREATE_INFO  *create_info_arg);
57
69
bool store_db_create_info(const char *dbname, String *buffer, HA_CREATE_INFO *create_info);
58
70
bool schema_table_store_record(Session *session, Table *table);
59
71
 
60
72
int get_quote_char_for_identifier();
 
73
int wild_case_compare(const CHARSET_INFO * const cs, 
 
74
                      const char *str,const char *wildstr);
61
75
 
62
76
InfoSchemaTable *find_schema_table(const char* table_name);
63
 
InfoSchemaTable *get_schema_table(enum enum_schema_tables schema_table_idx);
64
77
bool make_schema_select(Session *session,  Select_Lex *sel,
65
 
                       enum enum_schema_tables schema_table_idx);
 
78
                        const std::string& schema_table_name);
66
79
bool mysql_schema_table(Session *session, LEX *lex, TableList *table_list);
67
80
bool get_schema_tables_result(JOIN *join, enum enum_schema_table_state executed_place);
68
 
enum enum_schema_tables get_schema_table_idx(InfoSchemaTable *schema_table);
69
81
 
70
82
bool mysqld_show_open_tables(Session *session,const char *wild);
71
83
bool mysqld_show_logs(Session *session);