~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/cache_str.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:
80
80
{
81
81
  assert(fixed == 1);
82
82
  if (value)
83
 
    string2_class_decimal(E_DEC_FATAL_ERROR, value, decimal_val);
 
83
    decimal_val->store(E_DEC_FATAL_ERROR, value);
84
84
  else
85
85
    decimal_val= 0;
86
86
  return decimal_val;