22 #include <drizzled/function/time/date.h>
35 char buff[type::Time::MAX_STRING_LENGTH];
43 enum Item_result result_type ()
const {
return STRING_RESULT; }
45 int save_in_field(
Field *to,
bool no_conversions);
47 void fix_length_and_dec();
59 virtual void store_now_in_TIME(
type::Time &now_time)=0;
67 const char *func_name()
const {
return "now"; }
69 virtual enum Functype functype()
const {
return NOW_FUNC; }
78 const char *func_name()
const {
return "utc_timestamp"; }
virtual void store_now_in_TIME(type::Time &now_time)
virtual void store_now_in_TIME(type::Time &now_time)
String * val_str(String *str)
bool get_date(type::Time &res, uint32_t fuzzy_date)
bool get_temporal(DateTime &temporal)