~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_alloc.cc

  • Committer: Stewart Smith
  • Date: 2009-10-08 15:02:59 UTC
  • mto: This revision was merged to the branch mainline in revision 1179.
  • Revision ID: stewart@flamingspork.com-20091008150259-611syvsfnhaq7w59
SunStudioa needs extern C, and gcc needs it with prototype (sql_alloc.cc)

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#include <drizzled/current_session.h>
21
21
#include <drizzled/error.h>
22
22
 
 
23
extern "C" void sql_alloc_error_handler(void);
 
24
 
23
25
extern "C" void sql_alloc_error_handler(void)
24
26
{
25
27
  errmsg_printf(ERRMSG_LVL_ERROR, "%s",ER(ER_OUT_OF_RESOURCES));