My Project
Public Member Functions
Item_func_num1 Class Reference
Inheritance diagram for Item_func_num1:
Item_func_numhybrid Item_func Item_result_field Item Item_func_abs Item_func_int_val Item_func_neg Item_func_round Item_func_ceiling Item_func_floor

List of all members.

Public Member Functions

 Item_func_num1 (Item *a)
 Item_func_num1 (Item *a, Item *b)
void fix_num_length_and_dec ()
void find_num_type ()
Stringstr_op (String *str)
 Performs the operation that this functions implements when the result type is a string type.
bool date_op (MYSQL_TIME *ltime, uint fuzzydate)
 Performs the operation that this functions implements when the result type is MYSQL_TYPE_DATE or MYSQL_TYPE_DATETIME.
bool time_op (MYSQL_TIME *ltime)

Member Function Documentation

bool Item_func_num1::date_op ( MYSQL_TIME *  ltime,
uint  fuzzydate 
) [inline, virtual]

Performs the operation that this functions implements when the result type is MYSQL_TYPE_DATE or MYSQL_TYPE_DATETIME.

Returns:
The result of the operation.

Implements Item_func_numhybrid.

void Item_func_num1::find_num_type ( void  ) [virtual]

Set result type for a numeric function of one argument (can be also used by a numeric function of many arguments, if the result type depends only on the first argument)

Implements Item_func_numhybrid.

Reimplemented in Item_func_int_val.

String* Item_func_num1::str_op ( String ) [inline, virtual]

Performs the operation that this functions implements when the result type is a string type.

Returns:
The result of the operation.

Implements Item_func_numhybrid.


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