My Project
|
#include <item.h>
Public Member Functions | |
Item_copy_string (Item *item) | |
String * | val_str (String *) |
my_decimal * | val_decimal (my_decimal *) |
double | val_real () |
longlong | val_int () |
bool | get_date (MYSQL_TIME *ltime, uint fuzzydate) |
bool | get_time (MYSQL_TIME *ltime) |
void | copy () |
type_conversion_status | save_in_field (Field *field, bool no_conversions) |
Implementation of a string cache.
Uses Item::str_value for storage
void Item_copy_string::copy | ( | ) | [virtual] |
Update the cache with the value of the original item
This is the method that updates the cached value. It must be explicitly called by the user of this class to store the value of the orginal item in the cache.
Implements Item_copy.
type_conversion_status Item_copy_string::save_in_field | ( | Field * | field, |
bool | no_conversions | ||
) | [virtual] |