~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/sum.h

Fixed bashism.

Show diffs side-by-side

added added

removed removed

Lines of Context:
663
663
  enum_field_types field_type() const
664
664
  {
665
665
    return hybrid_type == DECIMAL_RESULT ?
666
 
      DRIZZLE_TYPE_DECIMAL : DRIZZLE_TYPE_DOUBLE;
 
666
      DRIZZLE_TYPE_NEWDECIMAL : DRIZZLE_TYPE_DOUBLE;
667
667
  }
668
668
  void fix_length_and_dec() {}
669
669
  enum Item_result result_type () const { return hybrid_type; }
730
730
  enum_field_types field_type() const
731
731
  {
732
732
    return hybrid_type == DECIMAL_RESULT ?
733
 
      DRIZZLE_TYPE_DECIMAL : DRIZZLE_TYPE_DOUBLE;
 
733
      DRIZZLE_TYPE_NEWDECIMAL : DRIZZLE_TYPE_DOUBLE;
734
734
  }
735
735
  void fix_length_and_dec() {}
736
736
  enum Item_result result_type () const { return hybrid_type; }