574.3.2
by Lee
initial changes to break out item_strfunc into functions/str |
1 |
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
|
2 |
* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
|
|
3 |
*
|
|
1999.6.1
by kalebral at gmail
update Copyright strings to a more common format to help with creating the master debian copyright file |
4 |
* Copyright (C) 2008 Sun Microsystems, Inc.
|
574.3.2
by Lee
initial changes to break out item_strfunc into functions/str |
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 |
*/
|
|
19 |
||
2234
by Brian Aker
Mass removal of ifdef/endif in favor of pragma once. |
20 |
#pragma once
|
670.1.20
by Monty Taylor
Renamed functions to function... everything else is singular. |
21 |
|
22 |
#include <drizzled/function/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. |
23 |
|
1280.1.10
by Monty Taylor
Put everything in drizzled into drizzled namespace. |
24 |
namespace drizzled |
25 |
{
|
|
26 |
||
574.3.2
by Lee
initial changes to break out item_strfunc into functions/str |
27 |
/* This file defines all string functions */
|
28 |
||
2119.4.1
by Monty Taylor
Turns on -fvisibility=hidden by default. Symbols intended to be used by |
29 |
class DRIZZLED_API Item_str_func : |
30 |
public Item_func |
|
574.3.2
by Lee
initial changes to break out item_strfunc into functions/str |
31 |
{
|
32 |
public: |
|
33 |
Item_str_func() :Item_func() { decimals=NOT_FIXED_DEC; } |
|
34 |
Item_str_func(Item *a) :Item_func(a) {decimals=NOT_FIXED_DEC; } |
|
35 |
Item_str_func(Item *a,Item *b) :Item_func(a,b) { decimals=NOT_FIXED_DEC; } |
|
36 |
Item_str_func(Item *a,Item *b,Item *c) :Item_func(a,b,c) { decimals=NOT_FIXED_DEC; } |
|
37 |
Item_str_func(Item *a,Item *b,Item *c,Item *d) :Item_func(a,b,c,d) {decimals=NOT_FIXED_DEC; } |
|
38 |
Item_str_func(Item *a,Item *b,Item *c,Item *d, Item* e) :Item_func(a,b,c,d,e) {decimals=NOT_FIXED_DEC; } |
|
39 |
Item_str_func(List<Item> &list) :Item_func(list) {decimals=NOT_FIXED_DEC; } |
|
1022.2.29
by Monty Taylor
Fixed some no-inline warnings. |
40 |
virtual ~Item_str_func(); |
574.3.2
by Lee
initial changes to break out item_strfunc into functions/str |
41 |
int64_t val_int(); |
42 |
double val_real(); |
|
2030.1.4
by Brian Aker
Change my_decimal to Decimal |
43 |
type::Decimal *val_decimal(type::Decimal *); |
574.3.2
by Lee
initial changes to break out item_strfunc into functions/str |
44 |
enum Item_result result_type () const { return STRING_RESULT; } |
45 |
void left_right_max_length(); |
|
46 |
bool fix_fields(Session *session, Item **ref); |
|
47 |
};
|
|
48 |
||
1280.1.10
by Monty Taylor
Put everything in drizzled into drizzled namespace. |
49 |
} /* namespace drizzled */ |
50 |