my_shm_defaults.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
  3. This program is free software; you can redistribute it and/or modify
  4. it under the terms of the GNU General Public License, version 2.0,
  5. as published by the Free Software Foundation.
  6. This program is also distributed with certain software (including
  7. but not limited to OpenSSL) that is licensed under separate terms,
  8. as designated in a particular file or component or in included license
  9. documentation. The authors of MySQL hereby grant you an additional
  10. permission to link the program and your derivative works with the
  11. separately licensed software that they have included with MySQL.
  12. This program is distributed in the hope that it will be useful,
  13. but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. GNU General Public License, version 2.0, for more details.
  16. You should have received a copy of the GNU General Public License
  17. along with this program; if not, write to the Free Software
  18. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
  19. #ifndef MY_SHM_DEFAULTS_INCLUDED
  20. #define MY_SHM_DEFAULTS_INCLUDED
  21. /**
  22. @file include/my_shm_defaults.h
  23. A few default values for shared memory, used in multiple places.
  24. */
  25. #if defined(_WIN32)
  26. /* Shared memory and named pipe connections are supported. */
  27. #define shared_memory_buffer_length 16000
  28. #define default_shared_memory_base_name "MYSQL"
  29. #endif /* _WIN32*/
  30. #endif // MY_SHM_DEFAULTS_INCLUDED