36
36
#define YYINITDEPTH 100
37
37
#define YYMAXDEPTH 3200 /* Because of 64K stack */
38
38
#define Lex (YYSession->lex)
40
#include <drizzled/foreign_key.h>
41
#include <drizzled/lex_symbol.h>
42
#include <drizzled/function/locate.h>
43
#include <drizzled/function/str/char.h>
44
#include <drizzled/function/str/collation.h>
45
#include <drizzled/function/str/database.h>
46
#include <drizzled/function/str/insert.h>
47
#include <drizzled/function/str/left.h>
48
#include <drizzled/function/str/repeat.h>
49
#include <drizzled/function/str/replace.h>
50
#include <drizzled/function/str/reverse.h>
51
#include <drizzled/function/str/right.h>
52
#include <drizzled/function/str/set_collation.h>
53
#include <drizzled/function/str/substr.h>
54
#include <drizzled/function/str/trim.h>
55
#include <drizzled/function/str/user.h>
56
#include <drizzled/function/str/weight_string.h>
58
#include <drizzled/function/time/curdate.h>
59
#include <drizzled/function/time/date_add_interval.h>
60
#include <drizzled/function/time/dayofmonth.h>
61
#include <drizzled/function/time/extract.h>
62
#include <drizzled/function/time/hour.h>
63
#include <drizzled/function/time/microsecond.h>
64
#include <drizzled/function/time/minute.h>
65
#include <drizzled/function/time/month.h>
66
#include <drizzled/function/time/now.h>
67
#include <drizzled/function/time/quarter.h>
68
#include <drizzled/function/time/second.h>
69
#include <drizzled/function/time/sysdate_local.h>
70
#include <drizzled/function/time/timestamp_diff.h>
71
#include <drizzled/function/time/typecast.h>
72
#include <drizzled/function/time/year.h>
74
#include <drizzled/error.h>
75
#include <drizzled/nested_join.h>
76
#include <drizzled/sql_parse.h>
77
#include <drizzled/item/copy_string.h>
78
#include <drizzled/item/cmpfunc.h>
79
#include <drizzled/item/uint.h>
80
#include <drizzled/item/null.h>
81
#include <drizzled/session.h>
82
#include <drizzled/item/func.h>
83
#include <drizzled/sql_base.h>
84
#include <drizzled/item/create.h>
85
#include <drizzled/item/default_value.h>
86
#include <drizzled/item/insert_value.h>
87
#include <drizzled/lex_string.h>
88
#include <drizzled/function/get_system_var.h>
89
#include <drizzled/thr_lock.h>
90
#include <drizzled/message/table.pb.h>
91
#include <drizzled/message/schema.pb.h>
92
#include <drizzled/statement.h>
93
#include <drizzled/statement/alter_schema.h>
94
#include <drizzled/statement/alter_table.h>
95
#include <drizzled/statement/analyze.h>
96
#include <drizzled/statement/change_schema.h>
97
#include <drizzled/statement/check.h>
98
#include <drizzled/statement/checksum.h>
99
#include <drizzled/statement/commit.h>
100
#include <drizzled/statement/create_index.h>
101
#include <drizzled/statement/create_schema.h>
102
#include <drizzled/statement/create_table.h>
103
#include <drizzled/statement/delete.h>
104
#include <drizzled/statement/drop_index.h>
105
#include <drizzled/statement/drop_schema.h>
106
#include <drizzled/statement/drop_table.h>
107
#include <drizzled/statement/empty_query.h>
108
#include <drizzled/statement/flush.h>
109
#include <drizzled/statement/insert.h>
110
#include <drizzled/statement/insert_select.h>
111
#include <drizzled/statement/kill.h>
112
#include <drizzled/statement/load.h>
113
#include <drizzled/statement/release_savepoint.h>
114
#include <drizzled/statement/rename_table.h>
115
#include <drizzled/statement/replace.h>
116
#include <drizzled/statement/replace_select.h>
117
#include <drizzled/statement/rollback.h>
118
#include <drizzled/statement/rollback_to_savepoint.h>
119
#include <drizzled/statement/savepoint.h>
120
#include <drizzled/statement/select.h>
121
#include <drizzled/statement/set_option.h>
122
#include <drizzled/statement/show_create.h>
123
#include <drizzled/statement/show_create_schema.h>
124
#include <drizzled/statement/show_errors.h>
125
#include <drizzled/statement/show_processlist.h>
126
#include <drizzled/statement/show_status.h>
127
#include <drizzled/statement/show_warnings.h>
128
#include <drizzled/statement/start_transaction.h>
129
#include <drizzled/statement/truncate.h>
130
#include <drizzled/statement/unlock_tables.h>
131
#include <drizzled/statement/update.h>
132
#include <drizzled/db.h>
133
#include "drizzled/global_charset_info.h"
134
#include "drizzled/pthread_globals.h"
135
#include "drizzled/charset.h"
136
#include "drizzled/internal/m_string.h"
40
#include "drizzled/parser.h"
139
42
int yylex(void *yylval, void *yysession);