~drizzle-trunk/drizzle/development

« back to all changes in this revision

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