mirror of
https://github.com/MariaDB/server.git
synced 2025-01-24 15:54:37 +01:00
031390a9a4
Cleaned up embedded library access and query cache handling Changed min stack size to 128K (to allow longer MyISAM keys) Fixed wrong priority for XOR (should be less than NEG to get -1^1 to work)
37 lines
1.3 KiB
C
37 lines
1.3 KiB
C
/* Copyright (C) 2000 MySQL AB
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
|
|
|
/* Defines that are unique to the embedded version of MySQL */
|
|
|
|
#ifdef EMBEDDED_LIBRARY
|
|
|
|
/* Things we don't need in the embedded version of MySQL */
|
|
/* TODO HF add #undef HAVE_VIO if we don't want client in embedded library */
|
|
|
|
#undef HAVE_PSTACK /* No stacktrace */
|
|
#undef HAVE_DLOPEN /* No udf functions */
|
|
#undef HAVE_OPENSSL
|
|
#undef HAVE_ISAM
|
|
#undef HAVE_SMEM /* No shared memory */
|
|
|
|
#define DONT_USE_RAID
|
|
|
|
#undef MYSQL_SERVER_SUFFIX
|
|
#define MYSQL_SERVER_SUFFIX "-embedded"
|
|
|
|
#undef HAVE_QUERY_CACHE /* Cache dosn't work yet */
|
|
|
|
#endif /* EMBEDDED_LIBRARY */
|