~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/blob.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:
286
286
    length= 0;
287
287
  }
288
288
  else
 
289
  {
289
290
    length= get_length(ptr);
290
 
 
291
 
  str2_class_decimal(E_DEC_FATAL_ERROR, blob, length, charset(),
292
 
                 decimal_value);
 
291
  }
 
292
 
 
293
  decimal_value->store(E_DEC_FATAL_ERROR, blob, length, charset());
 
294
 
293
295
  return decimal_value;
294
296
}
295
297