17
17
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
#ifndef DRIZZLED_STR_FUNCTIONS_CONV_H
21
#define DRIZZLED_STR_FUNCTIONS_CONV_H
23
#include <drizzled/functions/str/strfunc.h>
25
class Item_str_conv :public Item_str_func
20
#ifndef DRIZZLED_FUNCTION_STR_CONV_H
21
#define DRIZZLED_FUNCTION_STR_CONV_H
23
#include <drizzled/function/str/strfunc.h>
25
class Item_func_conv :public Item_str_func
29
my_charset_conv_case converter;
32
Item_str_conv(Item *item) :Item_str_func(item) {}
28
Item_func_conv(Item *a,Item *b,Item *c) :Item_str_func(a,b,c) {}
29
const char *func_name() const { return "conv"; }
33
30
String *val_str(String *);
37
class Item_func_lcase :public Item_str_conv
40
Item_func_lcase(Item *item) :Item_str_conv(item) {}
41
const char *func_name() const { return "lcase"; }
42
void fix_length_and_dec();
45
class Item_func_ucase :public Item_str_conv
48
Item_func_ucase(Item *item) :Item_str_conv(item) {}
49
const char *func_name() const { return "ucase"; }
50
void fix_length_and_dec();
53
#endif /* DRIZZLED_STR_FUNCTIONS_CONV_H */
31
void fix_length_and_dec()
33
collation.set(default_charset());
39
#endif /* DRIZZLED_FUNCTION_STR_CONV_H */