678
678
class Item_func_if :public Item_func
681
681
enum_field_types cached_field_type;
684
:Item_func(a,b,c), cached_result_type(INT_RESULT)
688
691
String *val_str(String *str);
689
692
type::Decimal *val_decimal(type::Decimal *);
691
694
enum_field_types field_type() const { return cached_field_type; }
692
695
bool fix_fields(Session *, Item **);
693
696
void fix_length_and_dec();