home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / mySQL / mysql-5.0.1-alpha-snapshot-win / data1.cab / Development / include / mysql_embed.h < prev    next >
Encoding:
C/C++ Source or Header  |  2004-07-28  |  1.2 KB  |  34 lines

  1. /* Copyright (C) 2000 MySQL AB
  2.  
  3.    This program is free software; you can redistribute it and/or modify
  4.    it under the terms of the GNU General Public License as published by
  5.    the Free Software Foundation; either version 2 of the License, or
  6.    (at your option) any later version.
  7.  
  8.    This program is distributed in the hope that it will be useful,
  9.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  10.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  11.    GNU General Public License for more details.
  12.  
  13.    You should have received a copy of the GNU General Public License
  14.    along with this program; if not, write to the Free Software
  15.    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
  16.  
  17. /* Defines that are unique to the embedded version of MySQL */
  18.  
  19. #ifdef EMBEDDED_LIBRARY
  20.  
  21. /* Things we don't need in the embedded version of MySQL */
  22. /* TODO HF add #undef HAVE_VIO if we don't want client in embedded library */
  23.  
  24. #undef HAVE_PSTACK                /* No stacktrace */
  25. #undef HAVE_DLOPEN                /* No udf functions */
  26. #undef HAVE_OPENSSL
  27. #undef HAVE_ISAM
  28. #undef HAVE_SMEM                /* No shared memory */
  29. #undef HAVE_NDBCLUSTER_DB /* No NDB cluster */
  30.  
  31. #define DONT_USE_RAID
  32.  
  33. #endif /* EMBEDDED_LIBRARY */
  34.