~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/lex.h

  • Committer: Brian Aker
  • Date: 2008-11-04 15:39:09 UTC
  • mfrom: (575.1.2 devel)
  • Revision ID: brian@tangent.org-20081104153909-c72hn65udxs1ccal
Merge of Monty's work

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (C) 2000-2002 MySQL AB
2
 
 
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.
6
 
 
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.
11
 
 
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 */
 
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
 
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
 
3
 *
 
4
 *  Copyright (C) 2008 Sun Microsystems
 
5
 *
 
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.
 
9
 *
 
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.
 
14
 *
 
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
 
18
 */
15
19
 
16
20
 
17
21
/* This file includes all reserved words and functions */
172
176
  { "ERRORS",           SYM(ERRORS)},
173
177
  { "ESCAPE",           SYM(ESCAPE_SYM)},
174
178
  { "ESCAPED",          SYM(ESCAPED)},
175
 
  { "EVENTS",           SYM(EVENTS_SYM)},
176
179
  { "EXCLUSIVE",        SYM(EXCLUSIVE_SYM)},
177
180
  { "EXISTS",           SYM(EXISTS)},
178
181
  { "EXIT",             SYM(EXIT_SYM)},
226
229
  { "INSERT_METHOD",    SYM(INSERT_METHOD)},
227
230
  { "INSTALL",          SYM(INSTALL_SYM)},
228
231
  { "INT",              SYM(INT_SYM)},
229
 
  { "INT1",             SYM(TINYINT)},
230
 
  { "INT2",             SYM(SMALLINT)},
231
232
  { "INT4",             SYM(INT_SYM)},
232
233
  { "INT8",             SYM(BIGINT)},
233
234
  { "INTEGER",          SYM(INT_SYM)},
331
332
  { "PACK_KEYS",        SYM(PACK_KEYS_SYM)},
332
333
  { "PAGE",             SYM(PAGE_SYM)},
333
334
  { "PAGE_CHECKSUM",        SYM(PAGE_CHECKSUM_SYM)},
 
335
  { "PARSE_VCOL_EXPR",  SYM(PARSE_VCOL_EXPR_SYM)},
334
336
  { "PARTIAL",          SYM(PARTIAL)},
335
337
  { "PHASE",            SYM(PHASE_SYM)},
336
338
  { "PLUGIN",           SYM(PLUGIN_SYM)},
402
404
  { "SHARE",            SYM(SHARE_SYM)},
403
405
  { "SHOW",             SYM(SHOW)},
404
406
  { "SHUTDOWN",         SYM(SHUTDOWN)},
405
 
  { "SIGNED",           SYM(SIGNED_SYM)},
406
407
  { "SIMPLE",           SYM(SIMPLE_SYM)},
407
408
  { "SLAVE",            SYM(SLAVE)},
408
409
  { "SNAPSHOT",         SYM(SNAPSHOT_SYM)},
409
 
  { "SMALLINT",         SYM(SMALLINT)},
410
410
  { "SOCKET",           SYM(SOCKET_SYM)},
411
411
  { "SOME",             SYM(ANY_SYM)},
412
412
  { "SONAME",           SYM(SONAME_SYM)},
436
436
  { "STATUS",           SYM(STATUS_SYM)},
437
437
  { "STOP",             SYM(STOP_SYM)},
438
438
  { "STORAGE",          SYM(STORAGE_SYM)},
 
439
  { "STORED",           SYM(STORED_SYM)},
439
440
  { "STRAIGHT_JOIN",    SYM(STRAIGHT_JOIN)},
440
441
  { "STRING",           SYM(STRING_SYM)},
441
442
  { "SUBJECT",          SYM(SUBJECT_SYM)},
458
459
  { "TIMESTAMPADD",     SYM(TIMESTAMP_ADD)},
459
460
  { "TIMESTAMPDIFF",    SYM(TIMESTAMP_DIFF)},
460
461
  { "TINYBLOB",         SYM(BLOB_SYM)},
461
 
  { "TINYINT",          SYM(TINYINT)},
462
462
  { "TINYTEXT",         SYM(TEXT_SYM)},
463
463
  { "TO",               SYM(TO_SYM)},
464
464
  { "TRAILING",         SYM(TRAILING)},
476
476
  { "UNIQUE",           SYM(UNIQUE_SYM)},
477
477
  { "UNKNOWN",          SYM(UNKNOWN_SYM)},
478
478
  { "UNLOCK",           SYM(UNLOCK_SYM)},
479
 
  { "UNSIGNED",         SYM(UNSIGNED)},
480
479
  { "UNTIL",            SYM(UNTIL_SYM)},
481
480
  { "UPDATE",           SYM(UPDATE_SYM)},
482
481
  { "UPGRADE",          SYM(UPGRADE_SYM)},
505
504
  { "WITH",             SYM(WITH)},
506
505
  { "WORK",             SYM(WORK_SYM)},
507
506
  { "WRITE",            SYM(WRITE_SYM)},
 
507
  { "VIRTUAL",          SYM(VIRTUAL_SYM)},
508
508
  { "XOR",              SYM(XOR)},
509
509
  { "YEAR",             SYM(YEAR_SYM)},
510
510
  { "YEAR_MONTH",       SYM(YEAR_MONTH_SYM)},