~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/min_max.cc

  • Committer: Monty Taylor
  • Date: 2011-02-13 17:26:39 UTC
  • mfrom: (2157.2.2 give-in-to-pkg-config)
  • mto: This revision was merged to the branch mainline in revision 2166.
  • Revision ID: mordred@inaugust.com-20110213172639-nhy7i72sfhoq13ms
Merged in pkg-config fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
#include <drizzled/function/min_max.h>
23
23
#include <drizzled/item/cmpfunc.h>
 
24
#include <drizzled/session.h>
24
25
 
25
26
namespace drizzled
26
27
{
154
155
      type::Decimal dec_buf, *dec_val= val_decimal(&dec_buf);
155
156
      if (null_value)
156
157
        return 0;
157
 
      class_decimal2string(E_DEC_FATAL_ERROR, dec_val, 0, 0, 0, str);
 
158
      class_decimal2string(dec_val, 0, str);
158
159
      return str;
159
160
    }
160
161