My Project
Public Member Functions | Public Attributes | Protected Attributes
Item_sp_variable Class Reference
Inheritance diagram for Item_sp_variable:
Item Item_case_expr Item_splocal

List of all members.

Public Member Functions

 Item_sp_variable (const Name_string sp_var_name)
bool fix_fields (THD *thd, Item **)
double val_real ()
longlong val_int ()
Stringval_str (String *sp)
my_decimalval_decimal (my_decimal *decimal_value)
bool get_date (MYSQL_TIME *ltime, uint fuzzydate)
bool get_time (MYSQL_TIME *ltime)
bool is_null ()
void make_field (Send_field *field)
type_conversion_status save_in_field (Field *field, bool no_conversions)
bool send (Protocol *protocol, String *str)

Public Attributes

Name_string m_name
sp_headm_sp

Protected Attributes

THD * m_thd

Member Function Documentation

type_conversion_status Item_sp_variable::save_in_field ( Field field,
bool  no_conversions 
) [inline, 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.

Reimplemented from Item.

bool Item_sp_variable::send ( Protocol protocol,
String buffer 
) [inline, virtual]

This is only called from items that is not of type item_field.

Reimplemented from Item.


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