~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/typelib.cc

  • Committer: Henrik Ingo
  • Date: 2011-09-23 06:14:37 UTC
  • mfrom: (2425 drizzle)
  • mto: This revision was merged to the branch mainline in revision 2439.
  • Revision ID: henrik.ingo@avoinelama.fi-20110923061437-ct1wedkb9s47uy2t
Merge newest trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
  to->name= name ? root.strdup(name) : NULL;
128
128
  for (uint32_t i= 0; i < count; i++)
129
129
  {
130
 
    to->type_names[i]= root.strmake(type_names[i], type_lengths[i]);
 
130
    to->type_names[i]= root.strdup(type_names[i], type_lengths[i]);
131
131
    to->type_lengths[i]= type_lengths[i];
132
132
  }
133
133
  to->type_names[to->count]= NULL;