~drizzle-trunk/drizzle/development

390.1.2 by Monty Taylor
Fixed copyright headers in drizzled/
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
 */
1 by brian
clean slate
19
243.1.8 by Jay Pipes
More cleanup and revert broken base.h
20
#ifndef DRIZZLED_SERVER_ITEM_FUNC_H
21
#define DRIZZLED_SERVER_ITEM_FUNC_H
1 by brian
clean slate
22
23
/* Function items used by mysql */
24
25
26
#ifdef HAVE_IEEEFP_H
27
extern "C"				/* Bug in BSDI include file */
28
{
29
#include <ieeefp.h>
30
}
31
#endif
32
489.1.8 by Monty Taylor
Split out Item_int_func and Item_func from Item_func. (don't think too hard about the second one)
33
#include <drizzled/functions/func.h>
584.1.15 by Monty Taylor
The mega-patch from hell. Renamed sql_class to session (since that's what it is) and removed it and field and table from common_includes.
34
#include <drizzled/functions/abs.h>
35
#include <drizzled/functions/acos.h>
492.3.6 by Lee
code clean move Item_func_additive_op to functions directory
36
#include <drizzled/functions/additive_op.h>
584.1.15 by Monty Taylor
The mega-patch from hell. Renamed sql_class to session (since that's what it is) and removed it and field and table from common_includes.
37
#include <drizzled/functions/ascii.h>
38
#include <drizzled/functions/asin.h>
39
#include <drizzled/functions/atan.h>
40
#include <drizzled/functions/benchmark.h>
41
#include <drizzled/functions/bit.h>
42
#include <drizzled/functions/bit_count.h>
43
#include <drizzled/functions/bit_length.h>
44
#include <drizzled/functions/ceiling.h>
45
#include <drizzled/functions/char_length.h>
46
#include <drizzled/functions/coercibility.h>
492.3.3 by Lee
code clean move Item_func_num1 and Item_func_connection_id to functions directory
47
#include <drizzled/functions/connection_id.h>
584.1.15 by Monty Taylor
The mega-patch from hell. Renamed sql_class to session (since that's what it is) and removed it and field and table from common_includes.
48
#include <drizzled/functions/cos.h>
49
#include <drizzled/functions/dec.h>
492.3.5 by Lee
code clean move Item_decimal_typecast to functions directory
50
#include <drizzled/functions/decimal_typecast.h>
492.3.7 by Lee
code clean move Item_func_div, Item_func_minus, Item_func_mul, Item_func_plus to functions directory
51
#include <drizzled/functions/divide.h>
584.1.15 by Monty Taylor
The mega-patch from hell. Renamed sql_class to session (since that's what it is) and removed it and field and table from common_includes.
52
#include <drizzled/functions/exp.h>
492.3.31 by Lee
more changes to move functions from item_func.cc/h to the functions directory
53
#include <drizzled/functions/field.h>
492.3.14 by Lee
code clean move Item_func_ascii, Item_func_bit_count, Item_func_find_in_set, Item_func_ord to functions directory
54
#include <drizzled/functions/find_in_set.h>
584.1.15 by Monty Taylor
The mega-patch from hell. Renamed sql_class to session (since that's what it is) and removed it and field and table from common_includes.
55
#include <drizzled/functions/floor.h>
492.3.32 by Lee
more changes to move functions from item_func.cc/h to the functions directory
56
#include <drizzled/functions/found_rows.h>
584.1.15 by Monty Taylor
The mega-patch from hell. Renamed sql_class to session (since that's what it is) and removed it and field and table from common_includes.
57
#include <drizzled/functions/get_system_var.h>
492.3.32 by Lee
more changes to move functions from item_func.cc/h to the functions directory
58
#include <drizzled/functions/get_user_var.h>
59
#include <drizzled/functions/get_variable.h>
584.1.15 by Monty Taylor
The mega-patch from hell. Renamed sql_class to session (since that's what it is) and removed it and field and table from common_includes.
60
#include <drizzled/functions/int.h>
61
#include <drizzled/functions/int_divide.h>
62
#include <drizzled/functions/int_val.h>
492.3.28 by Lee
more changes to move functions from item_func.cc/h to the functions directory
63
#include <drizzled/functions/integer.h>
584.1.15 by Monty Taylor
The mega-patch from hell. Renamed sql_class to session (since that's what it is) and removed it and field and table from common_includes.
64
#include <drizzled/functions/last_insert.h>
492.3.13 by Lee
code clean move Item_func_floor, Item_func_length, Item_func_min_max, Item_func_rand, Item_func_round to functions directory
65
#include <drizzled/functions/length.h>
584.1.15 by Monty Taylor
The mega-patch from hell. Renamed sql_class to session (since that's what it is) and removed it and field and table from common_includes.
66
#include <drizzled/functions/ln.h>
67
#include <drizzled/functions/locate.h>
492.3.30 by Lee
more changes to move functions from item_func.cc/h to the functions directory
68
#include <drizzled/functions/lock.h>
584.1.15 by Monty Taylor
The mega-patch from hell. Renamed sql_class to session (since that's what it is) and removed it and field and table from common_includes.
69
#include <drizzled/functions/log.h>
492.3.28 by Lee
more changes to move functions from item_func.cc/h to the functions directory
70
#include <drizzled/functions/master_pos_wait.h>
492.3.13 by Lee
code clean move Item_func_floor, Item_func_length, Item_func_min_max, Item_func_rand, Item_func_round to functions directory
71
#include <drizzled/functions/min_max.h>
492.3.7 by Lee
code clean move Item_func_div, Item_func_minus, Item_func_mul, Item_func_plus to functions directory
72
#include <drizzled/functions/minus.h>
492.3.8 by Lee
code clean move Item_func_mod, Item_func_int_div, Item_func_neg to functions directory
73
#include <drizzled/functions/mod.h>
492.3.7 by Lee
code clean move Item_func_div, Item_func_minus, Item_func_mul, Item_func_plus to functions directory
74
#include <drizzled/functions/multiply.h>
492.3.8 by Lee
code clean move Item_func_mod, Item_func_int_div, Item_func_neg to functions directory
75
#include <drizzled/functions/neg.h>
584.1.15 by Monty Taylor
The mega-patch from hell. Renamed sql_class to session (since that's what it is) and removed it and field and table from common_includes.
76
#include <drizzled/functions/num1.h>
77
#include <drizzled/functions/num_op.h>
492.3.2 by Lee
code clean up to moving functions into drizzled/functions directory - Item_num_op and Item_numhybrid
78
#include <drizzled/functions/numhybrid.h>
584.1.15 by Monty Taylor
The mega-patch from hell. Renamed sql_class to session (since that's what it is) and removed it and field and table from common_includes.
79
#include <drizzled/functions/ord.h>
492.3.7 by Lee
code clean move Item_func_div, Item_func_minus, Item_func_mul, Item_func_plus to functions directory
80
#include <drizzled/functions/plus.h>
584.1.15 by Monty Taylor
The mega-patch from hell. Renamed sql_class to session (since that's what it is) and removed it and field and table from common_includes.
81
#include <drizzled/functions/pow.h>
82
#include <drizzled/functions/rand.h>
492.3.1 by Lee
break out item_real_func into functions directory
83
#include <drizzled/functions/real.h>
492.3.24 by Lee
more changes to move functions from item_func.cc/h to the functions directory
84
#include <drizzled/functions/rollup_const.h>
584.1.15 by Monty Taylor
The mega-patch from hell. Renamed sql_class to session (since that's what it is) and removed it and field and table from common_includes.
85
#include <drizzled/functions/round.h>
492.3.30 by Lee
more changes to move functions from item_func.cc/h to the functions directory
86
#include <drizzled/functions/row_count.h>
492.3.35 by Lee
more changes to move functions from item_func.cc/h to the functions directory
87
#include <drizzled/functions/set_user_var.h>
584.1.15 by Monty Taylor
The mega-patch from hell. Renamed sql_class to session (since that's what it is) and removed it and field and table from common_includes.
88
#include <drizzled/functions/sign.h>
89
#include <drizzled/functions/signed.h>
492.3.11 by Lee
code clean move Item_func_ceiling, Item_func_cos, Item_func_sin, Item_func_tan, Item_func_int_val to functions directory
90
#include <drizzled/functions/sin.h>
492.3.10 by Lee
code clean move Item_func_acos, Item_func_asin, Item_func_atan, Item_func_pow, Item_func_sqrt to functions directory
91
#include <drizzled/functions/sqrt.h>
584.1.15 by Monty Taylor
The mega-patch from hell. Renamed sql_class to session (since that's what it is) and removed it and field and table from common_includes.
92
#include <drizzled/functions/str/quote.h>
492.3.11 by Lee
code clean move Item_func_ceiling, Item_func_cos, Item_func_sin, Item_func_tan, Item_func_int_val to functions directory
93
#include <drizzled/functions/tan.h>
584.1.15 by Monty Taylor
The mega-patch from hell. Renamed sql_class to session (since that's what it is) and removed it and field and table from common_includes.
94
#include <drizzled/functions/units.h>
95
#include <drizzled/functions/unsigned.h>
492.3.35 by Lee
more changes to move functions from item_func.cc/h to the functions directory
96
#include <drizzled/functions/update_hash.h>
97
#include <drizzled/functions/user_var_as_out_param.h>
1 by brian
clean slate
98
99
/* For type casts */
100
101
enum Cast_target
102
{
103
  ITEM_CAST_BINARY, ITEM_CAST_SIGNED_INT, ITEM_CAST_UNSIGNED_INT,
104
  ITEM_CAST_DATE, ITEM_CAST_TIME, ITEM_CAST_DATETIME, ITEM_CAST_CHAR,
105
  ITEM_CAST_DECIMAL
106
};
107
243.1.8 by Jay Pipes
More cleanup and revert broken base.h
108
#endif /* DRIZZLE_SERVER_ITEM_FUNC_H */