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

List of all members.

Public Member Functions

 Item_func_minus (Item *a, Item *b)
const char * func_name () const
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 *)
void fix_length_and_dec ()

Member Function Documentation

my_decimal * Item_func_minus::decimal_op ( my_decimal decimal_value) [virtual]

See Item_func_plus::decimal_op for comments.

Implements Item_func_numhybrid.

void Item_func_minus::fix_length_and_dec ( void  ) [virtual]

The following function is here to allow the user to force subtraction of UNSIGNED BIGINT to return negative values.

Reimplemented from Item_func_numhybrid.

longlong Item_func_minus::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_minus::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