9
3

mysql_embed.h 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. #ifndef MYSQL_EMBED_INCLUDED
  2. #define MYSQL_EMBED_INCLUDED
  3. /*
  4. Copyright (c) 2000, 2011, Oracle and/or its affiliates.
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; version 2 of the License.
  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. You should have received a copy of the GNU General Public License
  13. along with this program; if not, write to the Free Software
  14. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
  15. /* Defines that are unique to the embedded version of MySQL */
  16. #ifdef EMBEDDED_LIBRARY
  17. /* Things we don't need in the embedded version of MySQL */
  18. /* TODO HF add #undef HAVE_VIO if we don't want client in embedded library */
  19. #undef HAVE_DLOPEN /* No udf functions */
  20. #undef HAVE_SMEM /* No shared memory */
  21. #endif /* EMBEDDED_LIBRARY */
  22. #endif /* MYSQL_EMBED_INCLUDED */