22 #include <drizzled/function/time/date.h>
37 str->alloc(type::Time::MAX_STRING_LENGTH);
41 new_length= temporal.
to_string(str->c_ptr(), type::Time::MAX_STRING_LENGTH);
42 assert(new_length < type::Time::MAX_STRING_LENGTH);
43 str->length(new_length);
59 return (int64_t) int_value;
TODO: Rename this file - func.h is stupid.
virtual void to_int32_t(int32_t *to) const
String * val_str(String *str)
virtual int to_string(char *to, size_t to_len) const
virtual bool get_temporal(Date &temporal)=0