~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_table.cc

  • Committer: Mark Atwood
  • Date: 2011-08-04 16:21:21 UTC
  • mfrom: (2318.9.14 refactor3)
  • Revision ID: me@mark.atwood.name-20110804162121-6b9ay1b1de3yfgvl
mergeĀ lp:~olafvdspek/drizzle/refactor3

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