The world's most popular open source database
#include <item.h>
Inheritance diagram for Item_num:


Public Member Functions | |
| Item_num () | |
| virtual Item_num * | neg ()=0 |
| Item * | safe_charset_converter (CHARSET_INFO *tocs) |
| bool | check_partition_func_processor (byte *bool_arg) |
Definition at line 1150 of file item.h.
| Item_num::Item_num | ( | ) | [inline] |
Reimplemented from Item.
Reimplemented in Item_static_float_func, Item_return_int, and Item_int_with_ref.
Definition at line 1156 of file item.h.
| virtual Item_num* Item_num::neg | ( | ) | [pure virtual] |
Implemented in Item_int, Item_uint, Item_decimal, and Item_float.
| Item * Item_num::safe_charset_converter | ( | CHARSET_INFO * | tocs | ) | [virtual] |
Reimplemented from Item.
Reimplemented in Item_static_float_func.
Definition at line 653 of file item.cc.
References buf, String::charset(), String::copy(), String::length(), String::mark_as_const(), my_charset_bin, String::ptr(), Item::str_value, and Item::val_str().
00654 { 00655 Item_string *conv; 00656 char buf[64]; 00657 String *s, tmp(buf, sizeof(buf), &my_charset_bin); 00658 s= val_str(&tmp); 00659 if ((conv= new Item_string(s->ptr(), s->length(), s->charset()))) 00660 { 00661 conv->str_value.copy(); 00662 conv->str_value.mark_as_const(); 00663 } 00664 return conv; 00665 }
Here is the call graph for this function:

1.4.7

