MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mysql_embed.h
1 #ifndef MYSQL_EMBED_INCLUDED
2 #define MYSQL_EMBED_INCLUDED
3 
4 /* Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
5 
6  This program is free software; you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; version 2 of the License.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with this program; if not, write to the Free Software
17  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
18 
19 /* Defines that are unique to the embedded version of MySQL */
20 
21 #ifdef EMBEDDED_LIBRARY
22 
23 /* Things we don't need in the embedded version of MySQL */
24 /* TODO HF add #undef HAVE_VIO if we don't want client in embedded library */
25 
26 #undef HAVE_DLOPEN /* No udf functions */
27 #undef HAVE_SMEM /* No shared memory */
28 
29 #endif /* EMBEDDED_LIBRARY */
30 #endif /* MYSQL_EMBED_INCLUDED */