My Project
|
Public Member Functions | |
Item_func_ifnull (Item *a, Item *b) | |
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 *str) |
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 () |
const char * | func_name () const |
Field * | tmp_table_field (TABLE *table) |
uint | decimal_precision () const |
Protected Attributes | |
bool | field_type_defined |
bool Item_func_ifnull::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.
Reimplemented from Item_func_coalesce.
my_decimal * Item_func_ifnull::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. |
Reimplemented from Item_func_coalesce.
longlong Item_func_ifnull::int_op | ( | ) | [virtual] |
Performs the operation that this functions implements when the result type is INT.
Reimplemented from Item_func_coalesce.
double Item_func_ifnull::real_op | ( | ) | [virtual] |
Performs the operation that this functions implements when the result type is REAL.
Reimplemented from Item_func_coalesce.
String * Item_func_ifnull::str_op | ( | String * | str | ) | [virtual] |
Coalesce - return first not NULL argument.
Reimplemented from Item_func_coalesce.