1
/* Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult 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; either version 2 of the License, or
6
(at your option) any later version.
8
This program is distributed in the hope that it will be useful,
9
but WITHOUT ANY WARRANTY; without even the implied warranty of
10
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
GNU General Public License for more details.
13
You should have received a copy of the GNU General Public License
14
along with this program; if not, write to the Free Software
15
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
17
/* Functions to create an item. Used by lex.h */
19
Item *create_func_abs(Item* a);
20
Item *create_func_acos(Item* a);
21
Item *create_func_ascii(Item* a);
22
Item *create_func_asin(Item* a);
23
Item *create_func_bin(Item* a);
24
Item *create_func_bit_count(Item* a);
25
Item *create_func_ceiling(Item* a);
26
Item *create_func_char_length(Item* a);
27
Item *create_func_connection_id(void);
28
Item *create_func_conv(Item* a, Item *b, Item *c);
29
Item *create_func_cos(Item* a);
30
Item *create_func_cot(Item* a);
31
Item *create_func_date_format(Item* a,Item *b);
32
Item *create_func_dayname(Item* a);
33
Item *create_func_dayofmonth(Item* a);
34
Item *create_func_dayofweek(Item* a);
35
Item *create_func_dayofyear(Item* a);
36
Item *create_func_degrees(Item *);
37
Item *create_func_exp(Item* a);
38
Item *create_func_find_in_set(Item* a, Item *b);
39
Item *create_func_floor(Item* a);
40
Item *create_func_from_days(Item* a);
41
Item *create_func_get_lock(Item* a, Item *b);
42
Item *create_func_hex(Item *a);
43
Item *create_func_inet_aton(Item* a);
44
Item *create_func_inet_ntoa(Item* a);
46
Item *create_func_ifnull(Item* a, Item *b);
47
Item *create_func_instr(Item* a, Item *b);
48
Item *create_func_isnull(Item* a);
49
Item *create_func_lcase(Item* a);
50
Item *create_func_length(Item* a);
51
Item *create_func_locate(Item* a, Item *b);
52
Item *create_func_log(Item* a);
53
Item *create_func_log10(Item* a);
54
Item *create_func_lpad(Item* a, Item *b, Item *c);
55
Item *create_func_ltrim(Item* a);
56
Item *create_func_md5(Item* a);
57
Item *create_func_mod(Item* a, Item *b);
58
Item *create_func_monthname(Item* a);
59
Item *create_func_nullif(Item* a, Item *b);
60
Item *create_func_oct(Item *);
61
Item *create_func_ord(Item* a);
62
Item *create_func_period_add(Item* a, Item *b);
63
Item *create_func_period_diff(Item* a, Item *b);
64
Item *create_func_pi(void);
65
Item *create_func_pow(Item* a, Item *b);
66
Item *create_func_quarter(Item* a);
67
Item *create_func_radians(Item *a);
68
Item *create_func_release_lock(Item* a);
69
Item *create_func_repeat(Item* a, Item *b);
70
Item *create_func_reverse(Item* a);
71
Item *create_func_rpad(Item* a, Item *b, Item *c);
72
Item *create_func_rtrim(Item* a);
73
Item *create_func_sec_to_time(Item* a);
74
Item *create_func_sign(Item* a);
75
Item *create_func_sin(Item* a);
76
Item *create_func_soundex(Item* a);
77
Item *create_func_space(Item *);
78
Item *create_func_sqrt(Item* a);
79
Item *create_func_strcmp(Item* a, Item *b);
80
Item *create_func_tan(Item* a);;
81
Item *create_func_time_format(Item *a, Item *b);
82
Item *create_func_time_to_sec(Item* a);
83
Item *create_func_to_days(Item* a);
84
Item *create_func_truncate (Item *a, Item *b);
85
Item *create_func_ucase(Item* a);
86
Item *create_func_version(void);
87
Item *create_func_weekday(Item* a);
88
Item *create_load_file(Item* a);