~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/parser.h

  • Committer: Lee Bieber
  • Date: 2011-02-11 20:30:05 UTC
  • mfrom: (2157.1.3 build)
  • Revision ID: kalebral@gmail.com-20110211203005-757o1y2yf78dxzqr
Merge Stewart - 716848: drizzleimport displays wrong program_name
Merge Stewart - update README file
Merge Andrew and Joe - Exposes the InnoDB SYS_REPLICATION_LOG to data_dictionary so that it is fast and fixes many issues we have been having

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
#ifndef DRIZZLED_PARSER_H
17
17
#define DRIZZLED_PARSER_H
18
18
 
19
 
#include <drizzled/charset.h>
20
 
#include <drizzled/error.h>
21
19
#include <drizzled/foreign_key.h>
22
 
#include <drizzled/function/get_system_var.h>
 
20
#include <drizzled/lex_symbol.h>
23
21
#include <drizzled/function/locate.h>
24
 
#include <drizzled/function/set_user_var.h>
25
22
#include <drizzled/function/str/char.h>
26
23
#include <drizzled/function/str/collation.h>
27
24
#include <drizzled/function/str/insert.h>
46
43
#include <drizzled/function/time/timestamp_diff.h>
47
44
#include <drizzled/function/time/typecast.h>
48
45
#include <drizzled/function/time/year.h>
49
 
#include <drizzled/global_charset_info.h>
50
 
#include <drizzled/internal/m_string.h>
51
 
#include <drizzled/item/boolean.h>
 
46
 
 
47
#include <drizzled/error.h>
 
48
#include <drizzled/nested_join.h>
 
49
#include <drizzled/sql_parse.h>
 
50
#include <drizzled/item/copy_string.h>
52
51
#include <drizzled/item/cmpfunc.h>
53
 
#include <drizzled/item/copy_string.h>
 
52
#include <drizzled/item/uint.h>
 
53
#include <drizzled/item/null.h>
 
54
#include <drizzled/session.h>
 
55
#include <drizzled/item/func.h>
 
56
#include <drizzled/sql_base.h>
54
57
#include <drizzled/item/create.h>
55
58
#include <drizzled/item/default_value.h>
56
 
#include <drizzled/item/func.h>
57
59
#include <drizzled/item/insert_value.h>
58
 
#include <drizzled/item/null.h>
59
 
#include <drizzled/item/uint.h>
60
60
#include <drizzled/lex_string.h>
61
 
#include <drizzled/lex_symbol.h>
 
61
#include <drizzled/function/get_system_var.h>
 
62
#include <drizzled/thr_lock.h>
 
63
#include <drizzled/message/table.pb.h>
62
64
#include <drizzled/message/schema.pb.h>
63
 
#include <drizzled/message/table.pb.h>
64
 
#include <drizzled/nested_join.h>
65
 
#include <drizzled/pthread_globals.h>
66
 
#include <drizzled/select_dump.h>
67
 
#include <drizzled/select_dumpvar.h>
68
 
#include <drizzled/select_export.h>
69
 
#include <drizzled/session.h>
70
 
#include <drizzled/sql_base.h>
71
 
#include <drizzled/sql_parse.h>
72
65
#include <drizzled/statement.h>
73
66
#include <drizzled/statement/alter_schema.h>
74
67
#include <drizzled/statement/alter_table.h>
101
94
#include <drizzled/statement/rollback_to_savepoint.h>
102
95
#include <drizzled/statement/savepoint.h>
103
96
#include <drizzled/statement/select.h>
 
97
#include <drizzled/statement/show.h>
104
98
#include <drizzled/statement/set_option.h>
105
 
#include <drizzled/statement/show.h>
106
99
#include <drizzled/statement/show_errors.h>
107
100
#include <drizzled/statement/show_warnings.h>
108
101
#include <drizzled/statement/start_transaction.h>
109
102
#include <drizzled/statement/truncate.h>
110
103
#include <drizzled/statement/unlock_tables.h>
111
104
#include <drizzled/statement/update.h>
 
105
#include <drizzled/db.h>
 
106
#include "drizzled/global_charset_info.h"
 
107
#include "drizzled/pthread_globals.h"
 
108
#include "drizzled/charset.h"
 
109
#include "drizzled/internal/m_string.h"
 
110
 
 
111
#include "drizzled/item/boolean.h"
112
112
 
113
113
namespace drizzled {
114
114
 
133
133
void my_parse_error(Lex_input_stream *lip);
134
134
void my_parse_error(const char *message);
135
135
bool check_reserved_words(LEX_STRING *name);
136
 
void errorOn(drizzled::Session *session, const char *s);
 
136
void errorOn(const char *s);
137
137
 
138
138
 
139
139
bool buildOrderBy(LEX *lex);
168
168
void buildKeyOnColumn(LEX *lex);
169
169
void buildAutoOnColumn(LEX *lex);
170
170
void buildPrimaryOnColumn(LEX *lex);
171
 
void buildReplicationOption(LEX *lex, bool arg);
172
 
void buildAddAlterDropIndex(LEX *lex, const char *name, bool is_foreign_key= false);
173
171
 
174
172
} // namespace parser
175
173
} // namespace drizzled