~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/numhybrid.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:
169
169
      if (!(res= str_op(&str_value)))
170
170
        return NULL;
171
171
 
172
 
      str2_class_decimal(E_DEC_FATAL_ERROR, (char*) res->ptr(),
173
 
                     res->length(), res->charset(), decimal_value);
 
172
      decimal_value->store(E_DEC_FATAL_ERROR, (char*) res->ptr(),
 
173
                           res->length(), res->charset());
174
174
      break;
175
175
    }
176
176
  case ROW_RESULT: