~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/pbms/src/discover_ms.cc

  • Committer: Olaf van der Spek
  • Date: 2011-06-21 14:08:41 UTC
  • mto: This revision was merged to the branch mainline in revision 2346.
  • Revision ID: olafvdspek@gmail.com-20110621140841-b6gc81018n00819r
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
322
322
          {
323
323
            uint cnv_errs;
324
324
            conv.copy(tmp->ptr(), tmp->length(), tmp->charset(), cs, &cnv_errs);
325
 
            interval->type_names[i]= strmake_root(thd->mem_root, conv.ptr(),
 
325
            interval->type_names[i]= strmake(thd->mem_root, conv.ptr(),
326
326
                                                  conv.length());
327
327
            interval->type_lengths[i]= conv.length();
328
328
          }