My Project
Public Member Functions
Item_func_abs Class Reference
Inheritance diagram for Item_func_abs:
Item_func_num1 Item_func_numhybrid Item_func Item_result_field Item

List of all members.

Public Member Functions

 Item_func_abs (Item *a)
double real_op ()
 Performs the operation that this functions implements when the result type is REAL.
longlong int_op ()
 Performs the operation that this functions implements when the result type is INT.
my_decimaldecimal_op (my_decimal *)
 Performs the operation that this functions implements when the result type is DECIMAL.
const char * func_name () const
void fix_length_and_dec ()
bool check_partition_func_processor (uchar *int_arg)

Member Function Documentation

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

Parameters:
Apointer where the DECIMAL value will be allocated.
Returns:
  • 0 If the result is NULL
  • The same pointer it was given, with the area initialized to the result of the operation.

Implements Item_func_numhybrid.

longlong Item_func_abs::int_op ( ) [virtual]

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

Returns:
The result of the operation.

Implements Item_func_numhybrid.

double Item_func_abs::real_op ( ) [virtual]

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

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