~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/decimal.cc

  • Committer: Brian Aker
  • Date: 2010-10-06 18:16:00 UTC
  • mto: (1818.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1819.
  • Revision ID: brian@tangent.org-20101006181600-q7zuzw31zlq030ra
Convert sql_string to use size_t (this should clean up ICC warnings).

Show diffs side-by-side

added added

removed removed

Lines of Context:
289
289
  String tmp(buff, sizeof(buff), &my_charset_bin);
290
290
  if (charset->mbminlen > 1)
291
291
  {
292
 
    uint32_t dummy_errors;
 
292
    size_t dummy_errors;
293
293
    tmp.copy(from, length, charset, &my_charset_utf8_general_ci, &dummy_errors);
294
294
    from= tmp.ptr();
295
295
    length=  tmp.length();