22 #include <drizzled/function/time/time.h>
33 if (!get_temporal(temporal))
36 str->alloc(type::Time::MAX_STRING_LENGTH);
39 new_length = temporal.
to_string(str->c_ptr(), type::Time::MAX_STRING_LENGTH);
40 assert(new_length < type::Time::MAX_STRING_LENGTH);
41 str->length(new_length);
49 if (!get_temporal(temporal))
54 return (int64_t) int_value;
int to_string(char *to, size_t to_len) const
String * val_str(String *str)
void to_int32_t(int32_t *to) const