~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/thr_malloc.cc

  • Committer: Brian Aker
  • Date: 2009-06-16 00:53:22 UTC
  • mto: This revision was merged to the branch mainline in revision 1094.
  • Revision ID: brian@gaz-20090616005322-w0ode4jul9z8s2y9
Partial fix for tests for tmp

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#include <drizzled/error.h>
22
22
 
23
23
extern "C" {
24
 
  void sql_alloc_error_handler(void);
25
 
}
26
 
 
27
 
void sql_alloc_error_handler(void)
28
 
{
29
 
  errmsg_printf(ERRMSG_LVL_ERROR, "%s",ER(ER_OUT_OF_RESOURCES));
 
24
  void sql_alloc_error_handler(void)
 
25
  {
 
26
    errmsg_printf(ERRMSG_LVL_ERROR, "%s",ER(ER_OUT_OF_RESOURCES));
 
27
  }
30
28
}
31
29
 
32
30
void init_sql_alloc(MEM_ROOT *mem_root, size_t block_size, size_t pre_alloc)