~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_table.cc

  • Committer: Brian Aker
  • Date: 2010-04-19 19:23:14 UTC
  • Revision ID: brian@gaz-20100419192314-47vro57tcn607i61
More updates for memory::Root

Show diffs side-by-side

added added

removed removed

Lines of Context:
665
665
          {
666
666
            uint32_t cnv_errs;
667
667
            conv.copy(tmp->ptr(), tmp->length(), tmp->charset(), cs, &cnv_errs);
668
 
            interval->type_names[i]= strmake_root(session->mem_root, conv.ptr(),
669
 
                                                  conv.length());
 
668
            interval->type_names[i]= session->mem_root->strmake_root(conv.ptr(), conv.length());
670
669
            interval->type_lengths[i]= conv.length();
671
670
          }
672
671