~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/memory/sql_alloc.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:
45
45
  return current_mem_root()->strdup(str);
46
46
}
47
47
 
48
 
char* sql_strmake(const char* str, size_t len)
 
48
char* sql_strdup(const char* str, size_t len)
49
49
{
50
 
  return current_mem_root()->strmake(str, len);
 
50
  return current_mem_root()->strdup(str, len);
51
51
}
52
52
 
53
53
void* sql_memdup(const void* ptr, size_t len)