~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/min_max.h

Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#ifndef DRIZZLED_FUNCTION_MIN_MAX_H
21
 
#define DRIZZLED_FUNCTION_MIN_MAX_H
 
20
#pragma once
22
21
 
23
22
#include <drizzled/function/func.h>
24
23
 
44
43
  double val_real();
45
44
  int64_t val_int();
46
45
  String *val_str(String *);
47
 
  my_decimal *val_decimal(my_decimal *);
 
46
  type::Decimal *val_decimal(type::Decimal *);
48
47
  void fix_length_and_dec();
49
48
  enum Item_result result_type () const { return cmp_type; }
50
49
  bool result_as_int64_t() { return compare_as_dates; };
68
67
 
69
68
} /* namespace drizzled */
70
69
 
71
 
#endif /* DRIZZLED_FUNCTION_MIN_MAX_H */