~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/sum.cc

  • Committer: Brian Aker
  • Date: 2010-12-27 19:16:17 UTC
  • mto: This revision was merged to the branch mainline in revision 2036.
  • Revision ID: brian@tangent.org-20101227191617-b1jesi0g2okc06nj
Improvement for decimal in encapsulation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1672
1672
 
1673
1673
  switch (hybrid_type) {
1674
1674
  case STRING_RESULT:
1675
 
    string2_class_decimal(E_DEC_FATAL_ERROR, &value, val);
 
1675
    val->store(E_DEC_FATAL_ERROR, &value);
1676
1676
    break;
1677
1677
  case REAL_RESULT:
1678
1678
    double2_class_decimal(E_DEC_FATAL_ERROR, sum, val);