My Project
|
Public Member Functions | |
Item_func_coalesce (List< Item > &list) | |
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. | |
String * | str_op (String *) |
bool | date_op (MYSQL_TIME *ltime, uint fuzzydate) |
Performs the operation that this functions implements when the result type is MYSQL_TYPE_DATE or MYSQL_TYPE_DATETIME. | |
bool | time_op (MYSQL_TIME *ltime) |
my_decimal * | decimal_op (my_decimal *) |
Performs the operation that this functions implements when the result type is DECIMAL. | |
void | fix_length_and_dec () |
void | find_num_type () |
enum Item_result | result_type () const |
const char * | func_name () const |
table_map | not_null_tables () const |
enum_field_types | field_type () const |
Protected Member Functions | |
Item_func_coalesce (Item *a, Item *b) | |
Protected Attributes | |
enum_field_types | cached_field_type |
bool Item_func_coalesce::date_op | ( | MYSQL_TIME * | ltime, |
uint | fuzzydate | ||
) | [virtual] |
Performs the operation that this functions implements when the result type is MYSQL_TYPE_DATE or MYSQL_TYPE_DATETIME.
Implements Item_func_numhybrid.
Reimplemented in Item_func_ifnull.
my_decimal * Item_func_coalesce::decimal_op | ( | my_decimal * | ) | [virtual] |
Performs the operation that this functions implements when the result type is DECIMAL.
A | pointer where the DECIMAL value will be allocated. |
Implements Item_func_numhybrid.
Reimplemented in Item_func_ifnull.
longlong Item_func_coalesce::int_op | ( | ) | [virtual] |
Performs the operation that this functions implements when the result type is INT.
Implements Item_func_numhybrid.
Reimplemented in Item_func_ifnull.
double Item_func_coalesce::real_op | ( | ) | [virtual] |
Performs the operation that this functions implements when the result type is REAL.
Implements Item_func_numhybrid.
Reimplemented in Item_func_ifnull.
String * Item_func_coalesce::str_op | ( | String * | str | ) | [virtual] |
Coalesce - return first not NULL argument.
Implements Item_func_numhybrid.
Reimplemented in Item_func_ifnull.