~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table/instance/base.h

  • 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:
175
175
    return mem_root.alloc(arg);
176
176
  }
177
177
 
178
 
  char *strmake(const char *str_arg, size_t len_arg)
 
178
  char *strdup(const char *str_arg, size_t len_arg)
179
179
  {
180
 
    return mem_root.strmake(str_arg, len_arg);
 
180
    return mem_root.strdup(str_arg, len_arg);
181
181
  }
182
182
 
183
183
  memory::Root& mem()