My Project
Public Member Functions
Item_func_interval Class Reference
Inheritance diagram for Item_func_interval:
Item_int_func Item_func Item_result_field Item

List of all members.

Public Member Functions

 Item_func_interval (Item_row *a)
longlong val_int ()
void fix_length_and_dec ()
const char * func_name () const
uint decimal_precision () const

Member Function Documentation

longlong Item_func_interval::val_int ( void  ) [virtual]

Execute Item_func_interval().

Note:
If we are doing a decimal comparison, we are evaluating the first item twice.
Returns:
  • -1 if null value,
  • 0 if lower than lowest
  • 1 - arg_count-1 if between args[n] and args[n+1]
  • arg_count if higher than biggest argument

Implements Item.


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