~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to dbug/sanity.c

  • Committer: Brian Aker
  • Date: 2008-07-18 20:10:26 UTC
  • mfrom: (51.3.29 remove-dbug)
  • Revision ID: brian@tangent.org-20080718201026-tto5golt0xhwqe4a
Merging in Jay's final patch on dbug.

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