~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_table.cc

  • Committer: Olaf van der Spek
  • Date: 2011-07-07 13:41:07 UTC
  • mto: This revision was merged to the branch mainline in revision 2385.
  • Revision ID: olafvdspek@gmail.com-20110707134107-6mi7pauiatxtf4oe
Rename strmake to strdup (standard name)

Show diffs side-by-side

added added

removed removed

Lines of Context:
634
634
          if (String::needs_conversion(tmp->length(), tmp->charset(), cs))
635
635
          {
636
636
            conv.copy(tmp->ptr(), tmp->length(), cs);
637
 
            interval->type_names[i]= session->mem.strmake(conv);
 
637
            interval->type_names[i]= session->mem.strdup(conv);
638
638
            interval->type_lengths[i]= conv.length();
639
639
          }
640
640