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

List of all members.

Public Member Functions

 Item_func_div (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 fix_length_and_dec ()
void result_precision ()

Public Attributes

uint prec_increment

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_div::int_op ( ) [inline, 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_div::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