~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to dbug/sanity.c

  • Committer: Monty Taylor
  • Date: 2008-07-09 19:33:54 UTC
  • mto: (77.6.1 glibclient-merge)
  • mto: This revision was merged to the branch mainline in revision 124.
  • Revision ID: monty@inaugust.com-20080709193354-vi0pemwf40galnll
First step of sql-common removal (the cheap way) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Declarate _sanity() if not declared in main program */
 
2
 
 
3
#include <my_global.h>
 
4
 
 
5
extern int _sanity(const char *file,uint line);
 
6
 
 
7
#if defined(SAFEMALLOC) && !defined(MASTER)     /* Avoid errors in MySQL */
 
8
int _sanity(const char * file __attribute__((unused)),
 
9
            uint line __attribute__((unused)))
 
10
{
 
11
  return 0;
 
12
}
 
13
#endif