My Project
Public Member Functions | Protected Attributes
Item_copy_float Class Reference
Inheritance diagram for Item_copy_float:
Item_copy Item

List of all members.

Public Member Functions

 Item_copy_float (Item *i)
type_conversion_status save_in_field (Field *field, bool no_conversions)
Stringval_str (String *)
my_decimalval_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 ()

Protected Attributes

double cached_value

Member Function Documentation

void Item_copy_float::copy ( ) [inline, 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_float::save_in_field ( Field field,
bool  no_conversions 
) [virtual]

Save a temporal value in packed longlong format into a Field. Used in optimizer.

Parameters:
OUTfield The field to set the value to.
Return values:
0On success.
>0In error.

Implements Item_copy.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines