sanity.c
Upload User: tsgydb
Upload Date: 2007-04-14
Package Size: 10674k
Code Size: 0k
Category:

MySQL

Development Platform:

Visual C++

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