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


Public Member Functions | |
| Field_longstr (char *ptr_arg, uint32 len_arg, uchar *null_ptr_arg, uchar null_bit_arg, utype unireg_check_arg, const char *field_name_arg, CHARSET_INFO *charset) | |
| int | store_decimal (const my_decimal *d) |
Definition at line 432 of file field.h.
| Field_longstr::Field_longstr | ( | char * | ptr_arg, | |
| uint32 | len_arg, | |||
| uchar * | null_ptr_arg, | |||
| uchar | null_bit_arg, | |||
| utype | unireg_check_arg, | |||
| const char * | field_name_arg, | |||
| CHARSET_INFO * | charset | |||
| ) | [inline] |
| int Field_longstr::store_decimal | ( | const my_decimal * | d | ) | [virtual] |
Reimplemented from Field_str.
Definition at line 6071 of file field.cc.
References String::charset(), DECIMAL_MAX_STR_LENGTH, E_DEC_FATAL_ERROR, String::length(), my_decimal2string(), String::ptr(), and Field_str::store().
06072 { 06073 char buff[DECIMAL_MAX_STR_LENGTH+1]; 06074 String str(buff, sizeof(buff), &my_charset_bin); 06075 my_decimal2string(E_DEC_FATAL_ERROR, d, 0, 0, 0, &str); 06076 return store(str.ptr(), str.length(), str.charset()); 06077 }
Here is the call graph for this function:

1.4.7

