22 #include <drizzled/function/func.h>
38 str->set(
val_int(), &my_charset_bin);
41 const char *func_name()
const
43 return (odbc_type ?
"dayofweek" :
"weekday");
45 enum Item_result result_type ()
const {
return INT_RESULT; }
46 void fix_length_and_dec()
48 collation.set(&my_charset_bin);
50 max_length=1*MY_CHARSET_BIN_MB_MAXLEN;