My Project
Public Member Functions
Item_func_mod Class Reference
Inheritance diagram for Item_func_mod:
Item_num_op Item_func_numhybrid Item_func Item_result_field Item

List of all members.

Public Member Functions

 Item_func_mod (Item *a, Item *b)
longlong int_op ()
 Performs the operation that this functions implements when the result type is INT.
double real_op ()
 Performs the operation that this functions implements when the result type is REAL.
my_decimaldecimal_op (my_decimal *)
 Performs the operation that this functions implements when the result type is DECIMAL.
const char * func_name () const
void result_precision ()
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_mod::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_mod::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