27class Item_func_min_max :
public Item_func
33 bool compare_as_dates;
37 enum_field_types cached_field_type;
39 Item_func_min_max(
List<Item> &list,
int cmp_sign_arg) :Item_func(list),
40 cmp_type(INT_RESULT), cmp_sign(cmp_sign_arg), compare_as_dates(
false),
46 void fix_length_and_dec();
47 enum Item_result result_type ()
const {
return cmp_type; }
49 uint32_t cmp_datetimes(uint64_t *value);
50 enum_field_types field_type()
const {
return cached_field_type; }