~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_alloc.cc

  • Committer: Monty Taylor
  • Date: 2009-12-25 08:08:25 UTC
  • mto: This revision was merged to the branch mainline in revision 1255.
  • Revision ID: mordred@inaugust.com-20091225080825-r7qmhm2mswl0c4li
We have init_sql_alloc and init_alloc_root - and I can't tell the difference.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
  errmsg_printf(ERRMSG_LVL_ERROR, "%s",ER(ER_OUT_OF_RESOURCES));
36
36
}
37
37
 
38
 
void init_sql_alloc(MEM_ROOT *mem_root, size_t block_size, size_t pre_alloc)
 
38
void init_sql_alloc(MEM_ROOT *mem_root, size_t block_size, size_t)
39
39
{
40
 
  init_alloc_root(mem_root, block_size, pre_alloc);
 
40
  init_alloc_root(mem_root, block_size);
41
41
  mem_root->error_handler= sql_alloc_error_handler;
42
42
}
43
43