~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/show.h

  • Committer: lbieber
  • Date: 2010-01-21 18:21:39 UTC
  • mto: This revision was merged to the branch mainline in revision 1277.
  • Revision ID: lbieber@orisndriz08-20100121182139-h549us3gsysyyl0e
clean up japanese tests, remove tests that no longer apply.  In test-run.pl change mysql_version_id to drizzle_version_id

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
#include "drizzled/sql_parse.h"
35
35
#include "drizzled/plugin.h"
36
36
 
37
 
namespace drizzled
38
 
{
39
 
 
40
37
/* Forward declarations */
41
38
class String;
42
 
class Join;
 
39
class JOIN;
43
40
class Session;
44
41
struct st_ha_create_information;
45
42
typedef st_ha_create_information HA_CREATE_INFO;
46
 
class TableList;
 
43
struct TableList;
 
44
namespace drizzled
 
45
{
 
46
namespace plugin
 
47
{
 
48
  class InfoSchemaTable;
 
49
}
 
50
}
47
51
 
48
52
class Table;
49
53
typedef class Item COND;
50
54
 
 
55
class NormalisedDatabaseName;
 
56
 
 
57
 
 
58
typedef struct system_status_var STATUS_VAR;
 
59
 
 
60
extern STATUS_VAR global_status_var;
 
61
 
 
62
typedef struct st_lookup_field_values
 
63
{
 
64
  LEX_STRING db_value, table_value;
 
65
  bool wild_db_value, wild_table_value;
 
66
} LOOKUP_FIELD_VALUES;
 
67
 
 
68
bool calc_lookup_values_from_cond(Session *session, COND *cond, TableList *table,
 
69
                                  LOOKUP_FIELD_VALUES *lookup_field_vals,
 
70
                                  drizzled::plugin::InfoSchemaTable *schema_table);
 
71
bool get_lookup_field_values(Session *session, COND *cond, TableList *tables,
 
72
                             LOOKUP_FIELD_VALUES *lookup_field_values,
 
73
                             drizzled::plugin::InfoSchemaTable *schema_table);
 
74
int make_db_list(Session *session, std::vector<LEX_STRING*> &files,
 
75
                 LOOKUP_FIELD_VALUES *lookup_field_vals, bool *with_i_schema);
 
76
SHOW_VAR *getFrontOfStatusVars();
 
77
 
 
78
int store_create_info(TableList *table_list, String *packet, bool is_if_not_exists);
 
79
 
 
80
int get_quote_char_for_identifier();
51
81
int wild_case_compare(const CHARSET_INFO * const cs, 
52
82
                      const char *str,const char *wildstr);
53
83
 
54
 
int get_quote_char_for_identifier();
55
 
 
56
 
} /* namespace drizzled */
 
84
bool make_schema_select(Session *session,  Select_Lex *sel,
 
85
                        const std::string& schema_table_name);
 
86
 
 
87
bool mysqld_show_open_tables(Session *session,const char *wild);
 
88
bool mysqld_show_logs(Session *session);
 
89
void mysqld_list_fields(Session *session,TableList *table, const char *wild);
 
90
int mysqld_dump_create_info(Session *session, TableList *table_list, int fd);
 
91
bool drizzled_show_create(Session *session, TableList *table_list, bool is_if_not_exists);
 
92
bool mysqld_show_create_db(Session *session, const NormalisedDatabaseName &database_name, bool if_not_exists);
 
93
 
 
94
int mysqld_show_status(Session *session);
 
95
int mysqld_show_variables(Session *session,const char *wild);
 
96
bool mysqld_show_storage_engines(Session *session);
 
97
bool mysqld_show_column_types(Session *session);
 
98
void mysqld_list_processes(Session *session,const char *user, bool verbose);
 
99
void calc_sum_of_all_status(STATUS_VAR *to);
 
100
 
 
101
int add_status_vars(SHOW_VAR *list);
 
102
void remove_status_vars(SHOW_VAR *list);
 
103
void init_status_vars();
 
104
void free_status_vars();
 
105
void reset_status_vars();
57
106
 
58
107
#endif /* DRIZZLED_SHOW_H */