1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
4
* Copyright (C) 2008 Sun Microsystems
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; version 2 of the License.
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1
/* Copyright (C) 2000-2002 MySQL AB
3
This program is free software; you can redistribute it and/or modify
4
it under the terms of the GNU General Public License as published by
5
the Free Software Foundation; version 2 of the License.
7
This program is distributed in the hope that it will be useful,
8
but WITHOUT ANY WARRANTY; without even the implied warranty of
9
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
GNU General Public License for more details.
12
You should have received a copy of the GNU General Public License
13
along with this program; if not, write to the Free Software
14
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
21
17
/* This file includes all reserved words and functions */
23
#include <drizzled/lex_symbol.h>
19
#include "lex_symbol.h"
25
21
SYM_GROUP sym_group_common= {"", ""};
82
78
{ "BIT", SYM(BIT_SYM)},
83
79
{ "BLOB", SYM(BLOB_SYM)},
84
80
{ "BLOCK", SYM(BLOCK_SYM)},
85
{ "BLOCK_SIZE", SYM(BLOCK_SIZE_SYM)},
86
81
{ "BOOL", SYM(BOOL_SYM)},
87
82
{ "BOOLEAN", SYM(BOOLEAN_SYM)},
88
83
{ "BOTH", SYM(BOTH)},
176
171
{ "ERRORS", SYM(ERRORS)},
177
172
{ "ESCAPE", SYM(ESCAPE_SYM)},
178
173
{ "ESCAPED", SYM(ESCAPED)},
174
{ "EVENTS", SYM(EVENTS_SYM)},
179
175
{ "EXCLUSIVE", SYM(EXCLUSIVE_SYM)},
180
176
{ "EXISTS", SYM(EXISTS)},
181
177
{ "EXIT", SYM(EXIT_SYM)},
229
225
{ "INSERT_METHOD", SYM(INSERT_METHOD)},
230
226
{ "INSTALL", SYM(INSTALL_SYM)},
231
227
{ "INT", SYM(INT_SYM)},
228
{ "INT1", SYM(TINYINT)},
229
{ "INT2", SYM(SMALLINT)},
232
230
{ "INT4", SYM(INT_SYM)},
233
231
{ "INT8", SYM(BIGINT)},
234
232
{ "INTEGER", SYM(INT_SYM)},
332
330
{ "PACK_KEYS", SYM(PACK_KEYS_SYM)},
333
331
{ "PAGE", SYM(PAGE_SYM)},
334
332
{ "PAGE_CHECKSUM", SYM(PAGE_CHECKSUM_SYM)},
335
{ "PARSE_VCOL_EXPR", SYM(PARSE_VCOL_EXPR_SYM)},
336
333
{ "PARTIAL", SYM(PARTIAL)},
337
334
{ "PHASE", SYM(PHASE_SYM)},
338
335
{ "PLUGIN", SYM(PLUGIN_SYM)},
404
401
{ "SHARE", SYM(SHARE_SYM)},
405
402
{ "SHOW", SYM(SHOW)},
406
403
{ "SHUTDOWN", SYM(SHUTDOWN)},
404
{ "SIGNED", SYM(SIGNED_SYM)},
407
405
{ "SIMPLE", SYM(SIMPLE_SYM)},
408
406
{ "SLAVE", SYM(SLAVE)},
409
407
{ "SNAPSHOT", SYM(SNAPSHOT_SYM)},
408
{ "SMALLINT", SYM(SMALLINT)},
410
409
{ "SOCKET", SYM(SOCKET_SYM)},
411
410
{ "SOME", SYM(ANY_SYM)},
412
411
{ "SONAME", SYM(SONAME_SYM)},
436
435
{ "STATUS", SYM(STATUS_SYM)},
437
436
{ "STOP", SYM(STOP_SYM)},
438
437
{ "STORAGE", SYM(STORAGE_SYM)},
439
{ "STORED", SYM(STORED_SYM)},
440
438
{ "STRAIGHT_JOIN", SYM(STRAIGHT_JOIN)},
441
439
{ "STRING", SYM(STRING_SYM)},
442
440
{ "SUBJECT", SYM(SUBJECT_SYM)},
459
457
{ "TIMESTAMPADD", SYM(TIMESTAMP_ADD)},
460
458
{ "TIMESTAMPDIFF", SYM(TIMESTAMP_DIFF)},
461
459
{ "TINYBLOB", SYM(BLOB_SYM)},
460
{ "TINYINT", SYM(TINYINT)},
462
461
{ "TINYTEXT", SYM(TEXT_SYM)},
463
462
{ "TO", SYM(TO_SYM)},
464
463
{ "TRAILING", SYM(TRAILING)},
472
471
{ "UNDEFINED", SYM(UNDEFINED_SYM)},
473
472
{ "UNDOFILE", SYM(UNDOFILE_SYM)},
474
473
{ "UNDO", SYM(UNDO_SYM)},
474
{ "UNICODE", SYM(UNICODE_SYM)},
475
475
{ "UNION", SYM(UNION_SYM)},
476
476
{ "UNIQUE", SYM(UNIQUE_SYM)},
477
477
{ "UNKNOWN", SYM(UNKNOWN_SYM)},
478
478
{ "UNLOCK", SYM(UNLOCK_SYM)},
479
{ "UNINSTALL", SYM(UNINSTALL_SYM)},
480
{ "UNSIGNED", SYM(UNSIGNED)},
479
481
{ "UNTIL", SYM(UNTIL_SYM)},
480
482
{ "UPDATE", SYM(UPDATE_SYM)},
481
483
{ "UPGRADE", SYM(UPGRADE_SYM)},
503
505
{ "WHERE", SYM(WHERE)},
504
506
{ "WITH", SYM(WITH)},
505
507
{ "WORK", SYM(WORK_SYM)},
508
{ "WRAPPER", SYM(WRAPPER_SYM)},
506
509
{ "WRITE", SYM(WRITE_SYM)},
507
{ "VIRTUAL", SYM(VIRTUAL_SYM)},
508
510
{ "XOR", SYM(XOR)},
511
{ "XML", SYM(XML_SYM)}, /* LOAD XML Arnold/Erik */
509
512
{ "YEAR", SYM(YEAR_SYM)},
510
513
{ "YEAR_MONTH", SYM(YEAR_MONTH_SYM)},