22 #include <drizzled/function/time/date.h>
30 enum_field_types cached_field_type;
33 const interval_type int_type;
34 const bool date_sub_interval;
36 :
Item_date_func(a,b),int_type(type_arg), date_sub_interval(neg_arg) {}
38 const char *func_name()
const {
return "date_add_interval"; }
39 void fix_length_and_dec();
40 enum_field_types field_type()
const {
return cached_field_type; }
43 bool eq(
const Item *item,
bool binary_cmp)
const;
virtual void print(String *str)
bool get_date(type::Time &res, uint32_t fuzzy_date)
String * val_str(String *)
bool eq(const Item *item, bool binary_cmp) const