~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/show.h

  • Committer: Olaf van der Spek
  • Date: 2011-03-24 00:16:14 UTC
  • mto: This revision was merged to the branch mainline in revision 2251.
  • Revision ID: olafvdspek@gmail.com-20110324001614-wvmgc6eg52oq2321
Remove const_reference and reference from Session

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 * will eventually go away, but for now we split these definitions out into
25
25
 * their own header file for easier maintenance
26
26
 */
27
 
#ifndef DRIZZLED_SHOW_H
28
 
#define DRIZZLED_SHOW_H
29
 
 
30
 
#include <vector>
31
 
 
32
 
#include "drizzled/sql_list.h"
33
 
#include "drizzled/lex_string.h"
34
 
#include "drizzled/sql_parse.h"
35
 
#include "drizzled/plugin.h"
 
27
#pragma once
 
28
 
 
29
#include <drizzled/enum.h>
 
30
#include <drizzled/lex_string.h>
 
31
 
 
32
#include <drizzled/visibility.h>
36
33
 
37
34
namespace drizzled
38
35
{
39
36
 
40
37
/* Forward declarations */
41
 
class String;
42
 
class Join;
43
38
class Session;
44
 
struct st_ha_create_information;
45
 
typedef st_ha_create_information HA_CREATE_INFO;
46
 
class TableList;
47
 
 
48
 
class Table;
49
 
typedef class Item COND;
50
 
 
51
 
int wild_case_compare(const CHARSET_INFO * const cs, 
 
39
class Table_ident;
 
40
struct charset_info_st;
 
41
 
 
42
int wild_case_compare(const charset_info_st * const cs, 
52
43
                      const char *str,const char *wildstr);
53
44
 
54
 
int get_quote_char_for_identifier();
 
45
DRIZZLED_API int get_quote_char_for_identifier();
 
46
 
 
47
namespace show {
 
48
 
 
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);
 
62
 
 
63
void buildErrors(Session *session);
 
64
void buildWarnings(Session *session);
 
65
 
 
66
void buildSelectWarning(Session *session);
 
67
void buildSelectError(Session *session);
 
68
 
 
69
} // namespace show
55
70
 
56
71
} /* namespace drizzled */
57
72
 
58
 
#endif /* DRIZZLED_SHOW_H */