~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_string.cc

  • Committer: Olaf van der Spek
  • Date: 2011-06-22 14:19:44 UTC
  • mto: This revision was merged to the branch mainline in revision 2347.
  • Revision ID: olafvdspek@gmail.com-20110622141944-na0vb0uv30n6u55z
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
 
93
93
void *String::operator new(size_t size, memory::Root *mem_root)
94
94
{
95
 
  return mem_root->alloc_root(static_cast<size_t>(size));
 
95
  return mem_root->alloc(size);
96
96
}
97
97
 
98
98
String::~String() { free(); }