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

List of all members.

Public Member Functions

 Item_copy_int (Item *i)
type_conversion_status save_in_field (Field *field, bool no_conversions)
virtual Stringval_str (String *)
virtual my_decimalval_decimal (my_decimal *)
virtual double val_real ()
virtual longlong val_int ()
bool get_date (MYSQL_TIME *ltime, uint fuzzydate)
bool get_time (MYSQL_TIME *ltime)
virtual void copy ()

Protected Attributes

longlong cached_value

Member Function Documentation

void Item_copy_int::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_int::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