27class Item_func_dayname :
public Item_func_weekday
30 Item_func_dayname(
Item *a) :Item_func_weekday(a,0) {}
31 const char *func_name()
const {
return "dayname"; }
33 enum Item_result result_type ()
const {
return STRING_RESULT; }
34 void fix_length_and_dec()
36 collation.set(&my_charset_bin);
38 max_length=9*MY_CHARSET_BIN_MB_MAXLEN;