24
24
* will eventually go away, but for now we split these definitions out into
25
25
* their own header file for easier maintenance
27
#ifndef DRIZZLED_SHOW_H
28
#define DRIZZLED_SHOW_H
32
#include "drizzled/sql_list.h"
33
#include "drizzled/lex_string.h"
34
#include "drizzled/sql_parse.h"
35
#include "drizzled/plugin.h"
29
#include <drizzled/enum.h>
30
#include <drizzled/lex_string.h>
32
#include <drizzled/visibility.h>
40
37
/* Forward declarations */
44
struct st_ha_create_information;
45
typedef st_ha_create_information HA_CREATE_INFO;
49
typedef class Item COND;
51
int wild_case_compare(const CHARSET_INFO * const cs,
40
struct charset_info_st;
42
int wild_case_compare(const charset_info_st * const cs,
52
43
const char *str,const char *wildstr);
54
int get_quote_char_for_identifier();
45
DRIZZLED_API int get_quote_char_for_identifier();
49
bool buildColumns(Session *session, const char *schema_ident, Table_ident *table_ident);
50
bool buildCreateSchema(Session *session, LEX_STRING &ident);
51
bool buildCreateTable(Session *session, Table_ident *ident);
52
bool buildDescribe(Session *session, Table_ident *ident);
53
bool buildIndex(Session *session, const char *schema_ident, Table_ident *table_ident);
54
bool buildProcesslist(Session *session);
55
bool buildScemas(Session *session);
56
bool buildStatus(Session *session, const drizzled::sql_var_t is_global);
57
bool buildEngineStatus(Session *session, LEX_STRING);
58
bool buildTableStatus(Session *session, const char *ident);
59
bool buildTables(Session *session, const char *ident);
60
bool buildTemporaryTables(Session *session);
61
bool buildVariables(Session *session, const drizzled::sql_var_t is_global);
63
void buildErrors(Session *session);
64
void buildWarnings(Session *session);
66
void buildSelectWarning(Session *session);
67
void buildSelectError(Session *session);
56
71
} /* namespace drizzled */
58
#endif /* DRIZZLED_SHOW_H */