684
684
class Item_func_if :public Item_func
687
687
enum_field_types cached_field_type;
690
:Item_func(a,b,c), cached_result_type(INT_RESULT)
694
697
String *val_str(String *str);
695
698
type::Decimal *val_decimal(type::Decimal *);
697
700
enum_field_types field_type() const { return cached_field_type; }
698
701
bool fix_fields(Session *, Item **);
699
702
void fix_length_and_dec();