~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function_hash.gperf

  • Committer: Brian Aker
  • Date: 2008-10-06 06:47:29 UTC
  • Revision ID: brian@tangent.org-20081006064729-2i9mhjkzyvow9xsm
Remove uint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
%{
2
 
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
3
 
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
4
 
 *
5
 
 *  Copyright (C) 2008 Sun Microsystems
6
 
 *
7
 
 *  This program is free software; you can redistribute it and/or modify
8
 
 *  it under the terms of the GNU General Public License as published by
9
 
 *  the Free Software Foundation; version 2 of the License.
10
 
 *
11
 
 *  This program is distributed in the hope that it will be useful,
12
 
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 
 *  GNU General Public License for more details.
15
 
 *
16
 
 *  You should have received a copy of the GNU General Public License
17
 
 *  along with this program; if not, write to the Free Software
18
 
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
 
 */
20
 
 
21
 
 
22
 
/* This file includes all functions */
23
 
 
24
 
#include <drizzled/sql_yacc.h>
25
 
#include <drizzled/lex_symbol.h>
26
 
 
27
 
/*
28
 
  Symbols are broken into separated arrays to allow field names with
29
 
  same name as functions.
30
 
  These are kept sorted for human lookup (the symbols are hashed).
31
 
 
32
 
  NOTE! The symbol tables should be the same regardless of what features
33
 
  are compiled into the server. Don't add ifdef'ed symbols to the
34
 
  lists
35
 
*/
36
 
%}
37
 
struct st_symbol {
38
 
  const char *name;
39
 
  unsigned int  tok;
40
 
};
41
 
%%
42
 
ADDDATE,ADDDATE_SYM
43
 
CAST,CAST_SYM
44
 
COUNT,COUNT_SYM
45
 
CURDATE,CURDATE
46
 
DATE_ADD,DATE_ADD_INTERVAL
47
 
DATE_SUB,DATE_SUB_INTERVAL
48
 
EXTRACT,EXTRACT_SYM
49
 
GROUP_CONCAT,GROUP_CONCAT_SYM
50
 
MAX,MAX_SYM
51
 
# unireg function
52
 
MID,SUBSTRING
53
 
MIN,MIN_SYM
54
 
NOW,NOW_SYM
55
 
POSITION,POSITION_SYM
56
 
SESSION_USER,USER
57
 
STD,STD_SYM
58
 
STDDEV,STD_SYM
59
 
STDDEV_POP,STD_SYM
60
 
STDDEV_SAMP,STDDEV_SAMP_SYM
61
 
SUBDATE,SUBDATE_SYM
62
 
SUBSTR,SUBSTRING
63
 
SUBSTRING,SUBSTRING
64
 
SUM,SUM_SYM
65
 
SYSDATE,SYSDATE
66
 
SYSTEM_USER,USER
67
 
TRIM,TRIM
68
 
VARIANCE,VARIANCE_SYM
69
 
VAR_POP,VARIANCE_SYM
70
 
VAR_SAMP,VAR_SAMP_SYM
71
 
%%