~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/min_max.h

Merge Joe, plus I updated the tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
 
 *  Copyright (C) 2008 Sun Microsystems, Inc.
 
4
 *  Copyright (C) 2008 Sun Microsystems
5
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
44
44
  double val_real();
45
45
  int64_t val_int();
46
46
  String *val_str(String *);
47
 
  type::Decimal *val_decimal(type::Decimal *);
 
47
  my_decimal *val_decimal(my_decimal *);
48
48
  void fix_length_and_dec();
49
49
  enum Item_result result_type () const { return cmp_type; }
50
50
  bool result_as_int64_t() { return compare_as_dates; };