123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468 |
- /* Copyright (c) 2009, 2020, Oracle and/or its affiliates.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License, version 2.0,
- as published by the Free Software Foundation.
- This program is also distributed with certain software (including
- but not limited to OpenSSL) that is licensed under separate terms,
- as designated in a particular file or component or in included license
- documentation. The authors of MySQL hereby grant you an additional
- permission to link the program and your derivative works with the
- separately licensed software that they have included with MySQL.
- 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, version 2.0, 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
- #ifndef MY_CONFIG_H
- #define MY_CONFIG_H
- /*
- * From configure.cmake, in order of appearance
- */
- /* #undef HAVE_LLVM_LIBCPP */
- #define _LARGEFILE_SOURCE 1
- /* Libraries */
- /* #undef HAVE_LIBM */
- /* #undef HAVE_LIBNSL */
- /* #undef HAVE_LIBCRYPT */
- /* #undef HAVE_LIBSOCKET */
- /* #undef HAVE_LIBDL */
- /* #undef HAVE_LIBRT */
- /* #undef HAVE_LIBWRAP */
- /* #undef HAVE_LIBWRAP_PROTOTYPES */
- /* Header files */
- /* #undef HAVE_ALLOCA_H */
- /* #undef HAVE_ARPA_INET_H */
- /* #undef HAVE_CRYPT_H */
- /* #undef HAVE_DLFCN_H */
- /* #undef HAVE_EXECINFO_H */
- /* #undef HAVE_FPU_CONTROL_H */
- /* #undef HAVE_GRP_H */
- /* #undef HAVE_IEEEFP_H */
- /* #undef HAVE_LANGINFO_H */
- #define HAVE_MALLOC_H 1
- /* #undef HAVE_NETINET_IN_H */
- /* #undef HAVE_POLL_H */
- /* #undef HAVE_PWD_H */
- /* #undef HAVE_STRINGS_H */
- /* #undef HAVE_SYS_CDEFS_H */
- /* #undef HAVE_SYS_IOCTL_H */
- /* #undef HAVE_SYS_MMAN_H */
- /* #undef HAVE_SYS_RESOURCE_H */
- /* #undef HAVE_SYS_SELECT_H */
- /* #undef HAVE_SYS_SOCKET_H */
- /* #undef HAVE_TERM_H */
- /* #undef HAVE_TERMIOS_H */
- /* #undef HAVE_TERMIO_H */
- /* #undef HAVE_UNISTD_H */
- /* #undef HAVE_SYS_WAIT_H */
- /* #undef HAVE_SYS_PARAM_H */
- /* #undef HAVE_FNMATCH_H */
- /* #undef HAVE_SYS_UN_H */
- /* #undef HAVE_SASL_SASL_H */
- /* Libevent */
- /* #undef HAVE_DEVPOLL */
- /* #undef HAVE_SYS_DEVPOLL_H */
- /* #undef HAVE_SYS_EPOLL_H */
- /* #undef HAVE_TAILQFOREACH */
- /* Functions */
- #define HAVE_ALIGNED_MALLOC 1
- /* #undef HAVE_BACKTRACE */
- /* #undef HAVE_PRINTSTACK */
- /* #undef HAVE_INDEX */
- /* #undef HAVE_CLOCK_GETTIME */
- /* #undef HAVE_CUSERID */
- /* #undef HAVE_DIRECTIO */
- /* #undef HAVE_FTRUNCATE */
- #define HAVE_COMPRESS 1
- /* #undef HAVE_CRYPT */
- /* #undef HAVE_DLOPEN */
- /* #undef HAVE_FCHMOD */
- /* #undef HAVE_FCNTL */
- /* #undef HAVE_FDATASYNC */
- /* #undef HAVE_DECL_FDATASYNC */
- /* #undef HAVE_FEDISABLEEXCEPT */
- /* #undef HAVE_FSEEKO */
- /* #undef HAVE_FSYNC */
- /* #undef HAVE_GETHOSTBYADDR_R */
- /* #undef HAVE_GETHRTIME */
- /* #undef HAVE_GETNAMEINFO */
- /* #undef HAVE_GETPASS */
- /* #undef HAVE_GETPASSPHRASE */
- /* #undef HAVE_GETPWNAM */
- /* #undef HAVE_GETPWUID */
- /* #undef HAVE_GETRLIMIT */
- /* #undef HAVE_GETRUSAGE */
- /* #undef HAVE_INITGROUPS */
- /* #undef HAVE_ISSETUGID */
- /* #undef HAVE_GETUID */
- /* #undef HAVE_GETEUID */
- /* #undef HAVE_GETGID */
- /* #undef HAVE_GETEGID */
- /* #undef HAVE_LSTAT */
- /* #undef HAVE_MADVISE */
- /* #undef HAVE_MALLOC_INFO */
- /* #undef HAVE_MEMRCHR */
- /* #undef HAVE_MLOCK */
- /* #undef HAVE_MLOCKALL */
- /* #undef HAVE_MMAP64 */
- /* #undef HAVE_POLL */
- /* #undef HAVE_POSIX_FALLOCATE */
- /* #undef HAVE_POSIX_MEMALIGN */
- /* #undef HAVE_PREAD */
- /* #undef HAVE_PTHREAD_CONDATTR_SETCLOCK */
- /* #undef HAVE_PTHREAD_SIGMASK */
- /* #undef HAVE_READLINK */
- /* #undef HAVE_REALPATH */
- /* #undef HAVE_SETFD */
- /* #undef HAVE_SIGACTION */
- /* #undef HAVE_SLEEP */
- /* #undef HAVE_STPCPY */
- /* #undef HAVE_STPNCPY */
- /* #undef HAVE_STRLCPY */
- #define HAVE_STRNLEN 1
- /* #undef HAVE_STRLCAT */
- /* #undef HAVE_STRSIGNAL */
- /* #undef HAVE_FGETLN */
- /* #undef HAVE_STRSEP */
- #define HAVE_TELL 1
- /* #undef HAVE_VASPRINTF */
- /* #undef HAVE_MEMALIGN */
- /* #undef HAVE_NL_LANGINFO */
- /* #undef HAVE_HTONLL */
- /* #undef DNS_USE_CPU_CLOCK_FOR_ID */
- /* #undef HAVE_EPOLL */
- /* #undef HAVE_EVENT_PORTS */
- /* #undef HAVE_INET_NTOP */
- /* #undef HAVE_WORKING_KQUEUE */
- /* #undef HAVE_TIMERADD */
- /* #undef HAVE_TIMERCLEAR */
- /* #undef HAVE_TIMERCMP */
- /* #undef HAVE_TIMERISSET */
- /* WL2373 */
- /* #undef HAVE_SYS_TIME_H */
- /* #undef HAVE_SYS_TIMES_H */
- /* #undef HAVE_TIMES */
- /* #undef HAVE_GETTIMEOFDAY */
- /* Symbols */
- /* #undef HAVE_LRAND48 */
- /* #undef GWINSZ_IN_SYS_IOCTL */
- /* #undef FIONREAD_IN_SYS_IOCTL */
- /* #undef FIONREAD_IN_SYS_FILIO */
- /* #undef HAVE_SIGEV_THREAD_ID */
- /* #undef HAVE_SIGEV_PORT */
- #define HAVE_LOG2 1
- #define HAVE_ISINF 1
- /* #undef HAVE_KQUEUE_TIMERS */
- /* #undef HAVE_POSIX_TIMERS */
- /* Endianess */
- /* #undef WORDS_BIGENDIAN */
- /* Type sizes */
- #define SIZEOF_VOIDP 4
- #define SIZEOF_CHARP 4
- #define SIZEOF_LONG 4
- #define SIZEOF_SHORT 2
- #define SIZEOF_INT 4
- #define SIZEOF_LONG_LONG 8
- #define SIZEOF_OFF_T 4
- #define SIZEOF_TIME_T 8
- /* #undef HAVE_UINT */
- /* #undef HAVE_ULONG */
- /* #undef HAVE_U_INT32_T */
- /* #undef HAVE_STRUCT_TIMESPEC */
- /* Support for tagging symbols with __attribute__((visibility("hidden"))) */
- /* #undef HAVE_VISIBILITY_HIDDEN */
- /* Code tests*/
- #define STACK_DIRECTION -1
- /* #undef TIME_WITH_SYS_TIME */
- #define NO_FCNTL_NONBLOCK 1
- /* #undef HAVE_PAUSE_INSTRUCTION */
- /* #undef HAVE_FAKE_PAUSE_INSTRUCTION */
- /* #undef HAVE_HMT_PRIORITY_INSTRUCTION */
- /* #undef HAVE_ABI_CXA_DEMANGLE */
- /* #undef HAVE_BUILTIN_UNREACHABLE */
- /* #undef HAVE_BUILTIN_EXPECT */
- /* #undef HAVE_BUILTIN_STPCPY */
- /* #undef HAVE_GCC_ATOMIC_BUILTINS */
- /* #undef HAVE_GCC_SYNC_BUILTINS */
- /* #undef HAVE_VALGRIND */
- /* #undef HAVE_PTHREAD_THREADID_NP */
- /* IPV6 */
- /* #undef HAVE_NETINET_IN6_H */
- #define HAVE_STRUCT_SOCKADDR_IN6 1
- #define HAVE_STRUCT_IN6_ADDR 1
- #define HAVE_IPV6 1
- /* #undef ss_family */
- /* #undef HAVE_SOCKADDR_IN_SIN_LEN */
- /* #undef HAVE_SOCKADDR_IN6_SIN6_LEN */
- /*
- * Platform specific CMake files
- */
- #define MACHINE_TYPE "AMD64"
- /* #undef HAVE_LINUX_LARGE_PAGES */
- /* #undef HAVE_SOLARIS_LARGE_PAGES */
- /* #undef HAVE_SOLARIS_ATOMIC */
- /* #undef HAVE_SOLARIS_STYLE_GETHOST */
- #define SYSTEM_TYPE "Win32"
- /* Windows stuff, mostly functions, that have Posix analogs but named differently */
- /* #undef IPPROTO_IPV6 */
- /* #undef IPV6_V6ONLY */
- /* This should mean case insensitive file system */
- #define FN_NO_CASE_SENSE 1
- /*
- * From main CMakeLists.txt
- */
- #define MAX_INDEXES 64U
- /* #undef WITH_INNODB_MEMCACHED */
- /* #undef ENABLE_MEMCACHED_SASL */
- /* #undef ENABLE_MEMCACHED_SASL_PWDB */
- #define ENABLED_PROFILING 1
- /* #undef HAVE_ASAN */
- #define ENABLED_LOCAL_INFILE 1
- #define OPTIMIZER_TRACE 1
- #define DEFAULT_MYSQL_HOME "C:/Program Files/MySQL/MySQL Server 5.7"
- #define SHAREDIR "share"
- #define DEFAULT_BASEDIR "C:/Program Files/MySQL/MySQL Server 5.7"
- #define MYSQL_DATADIR "C:/Program Files/MySQL/MySQL Server 5.7/data"
- #define MYSQL_KEYRINGDIR "C:/Program Files/MySQL/MySQL Server 5.7/keyring"
- #define DEFAULT_CHARSET_HOME "C:/Program Files/MySQL/MySQL Server 5.7"
- #define PLUGINDIR "C:/Program Files/MySQL/MySQL Server 5.7/lib/plugin"
- /* #undef DEFAULT_SYSCONFDIR */
- #define DEFAULT_TMPDIR ""
- #define INSTALL_SBINDIR "/bin"
- #define INSTALL_BINDIR "/bin"
- #define INSTALL_MYSQLSHAREDIR "/share"
- #define INSTALL_SHAREDIR "/share"
- #define INSTALL_PLUGINDIR "/lib/plugin"
- #define INSTALL_INCLUDEDIR "/include"
- #define INSTALL_SCRIPTDIR "/scripts"
- #define INSTALL_MYSQLDATADIR "/data"
- #define INSTALL_MYSQLKEYRINGDIR "/keyring"
- /* #undef INSTALL_PLUGINTESTDIR */
- #define INSTALL_INFODIR "/docs"
- #define INSTALL_MYSQLTESTDIR "/mysql-test"
- #define INSTALL_DOCREADMEDIR "/."
- #define INSTALL_DOCDIR "/docs"
- #define INSTALL_MANDIR "/man"
- #define INSTALL_SUPPORTFILESDIR "/support-files"
- #define INSTALL_LIBDIR "/lib"
- /*
- * Readline
- */
- /* #undef HAVE_MBSTATE_T */
- /* #undef HAVE_LANGINFO_CODESET */
- /* #undef HAVE_WCSDUP */
- /* #undef HAVE_WCHAR_T */
- /* #undef HAVE_WINT_T */
- /* #undef HAVE_CURSES_H */
- /* #undef HAVE_NCURSES_H */
- /* #undef USE_LIBEDIT_INTERFACE */
- /* #undef HAVE_HIST_ENTRY */
- /* #undef USE_NEW_EDITLINE_INTERFACE */
- /* #undef EDITLINE_HAVE_COMPLETION_CHAR */
- /* #undef EDITLINE_HAVE_COMPLETION_INT */
- /*
- * Libedit
- */
- /* #undef HAVE_GETLINE */
- /* #undef HAVE___SECURE_GETENV */
- /* #undef HAVE_SECURE_GETENV */
- /* #undef HAVE_VIS */
- /* #undef HAVE_UNVIS */
- /* #undef HAVE_GETPW_R_DRAFT */
- /* #undef HAVE_GETPW_R_POSIX */
- /*
- * DTrace
- */
- /* #undef HAVE_DTRACE */
- /*
- * Character sets
- */
- #define MYSQL_DEFAULT_CHARSET_NAME "latin1"
- #define MYSQL_DEFAULT_COLLATION_NAME "latin1_swedish_ci"
- #define HAVE_CHARSET_armscii8 1
- #define HAVE_CHARSET_ascii 1
- #define HAVE_CHARSET_big5 1
- #define HAVE_CHARSET_cp1250 1
- #define HAVE_CHARSET_cp1251 1
- #define HAVE_CHARSET_cp1256 1
- #define HAVE_CHARSET_cp1257 1
- #define HAVE_CHARSET_cp850 1
- #define HAVE_CHARSET_cp852 1
- #define HAVE_CHARSET_cp866 1
- #define HAVE_CHARSET_cp932 1
- #define HAVE_CHARSET_dec8 1
- #define HAVE_CHARSET_eucjpms 1
- #define HAVE_CHARSET_euckr 1
- #define HAVE_CHARSET_gb2312 1
- #define HAVE_CHARSET_gbk 1
- #define HAVE_CHARSET_gb18030 1
- #define HAVE_CHARSET_geostd8 1
- #define HAVE_CHARSET_greek 1
- #define HAVE_CHARSET_hebrew 1
- #define HAVE_CHARSET_hp8 1
- #define HAVE_CHARSET_keybcs2 1
- #define HAVE_CHARSET_koi8r 1
- #define HAVE_CHARSET_koi8u 1
- #define HAVE_CHARSET_latin1 1
- #define HAVE_CHARSET_latin2 1
- #define HAVE_CHARSET_latin5 1
- #define HAVE_CHARSET_latin7 1
- #define HAVE_CHARSET_macce 1
- #define HAVE_CHARSET_macroman 1
- #define HAVE_CHARSET_sjis 1
- #define HAVE_CHARSET_swe7 1
- #define HAVE_CHARSET_tis620 1
- #define HAVE_CHARSET_ucs2 1
- #define HAVE_CHARSET_ujis 1
- #define HAVE_CHARSET_utf8mb4 1
- /* #undef HAVE_CHARSET_utf8mb3 */
- #define HAVE_CHARSET_utf8 1
- #define HAVE_CHARSET_utf16 1
- #define HAVE_CHARSET_utf32 1
- #define HAVE_UCA_COLLATIONS 1
- /*
- * Feature set
- */
- #define WITH_PARTITION_STORAGE_ENGINE 1
- /*
- * Performance schema
- */
- #define WITH_PERFSCHEMA_STORAGE_ENGINE 1
- /* #undef DISABLE_PSI_THREAD */
- /* #undef DISABLE_PSI_MUTEX */
- /* #undef DISABLE_PSI_RWLOCK */
- /* #undef DISABLE_PSI_COND */
- /* #undef DISABLE_PSI_FILE */
- /* #undef DISABLE_PSI_TABLE */
- /* #undef DISABLE_PSI_SOCKET */
- /* #undef DISABLE_PSI_STAGE */
- /* #undef DISABLE_PSI_STATEMENT */
- /* #undef DISABLE_PSI_SP */
- /* #undef DISABLE_PSI_PS */
- /* #undef DISABLE_PSI_IDLE */
- /* #undef DISABLE_PSI_STATEMENT_DIGEST */
- /* #undef DISABLE_PSI_METADATA */
- /* #undef DISABLE_PSI_MEMORY */
- /* #undef DISABLE_PSI_TRANSACTION */
- /*
- * syscall
- */
- /* #undef HAVE_SYS_THREAD_SELFID */
- /* #undef HAVE_SYS_GETTID */
- /* #undef HAVE_PTHREAD_GETTHREADID_NP */
- /* #undef HAVE_PTHREAD_SETNAME_NP */
- /* #undef HAVE_INTEGER_PTHREAD_SELF */
- /* Platform-specific C++ compiler behaviors we rely upon */
- /*
- This macro defines whether the compiler in use needs a 'typename' keyword
- to access the types defined inside a class template, such types are called
- dependent types. Some compilers require it, some others forbid it, and some
- others may work with or without it. For example, GCC requires the 'typename'
- keyword whenever needing to access a type inside a template, but msvc
- forbids it.
- */
- #define HAVE_IMPLICIT_DEPENDENT_NAME_TYPING 1
- /*
- * MySQL version
- */
- #define DOT_FRM_VERSION 6
- #define MYSQL_VERSION_MAJOR 5
- #define MYSQL_VERSION_MINOR 7
- #define MYSQL_VERSION_PATCH 31
- #define MYSQL_VERSION_EXTRA ""
- #define PACKAGE "mysql"
- #define PACKAGE_BUGREPORT ""
- #define PACKAGE_NAME "MySQL Server"
- #define PACKAGE_STRING "MySQL Server 5.7.31"
- #define PACKAGE_TARNAME "mysql"
- #define PACKAGE_VERSION "5.7.31"
- #define VERSION "5.7.31"
- #define PROTOCOL_VERSION 10
- /*
- * CPU info
- */
- #define CPU_LEVEL1_DCACHE_LINESIZE 64
- /*
- * NDB
- */
- /* #undef WITH_NDBCLUSTER_STORAGE_ENGINE */
- /* #undef HAVE_PTHREAD_SETSCHEDPARAM */
- /*
- * Other
- */
- /* #undef EXTRA_DEBUG */
- /* #undef HAVE_CHOWN */
- /*
- * Hardcoded values needed by libevent/NDB/memcached
- */
- #define HAVE_FCNTL_H 1
- #define HAVE_GETADDRINFO 1
- #define HAVE_INTTYPES_H 1
- /* libevent's select.c is not Windows compatible */
- #ifndef _WIN32
- #define HAVE_SELECT 1
- #endif
- #define HAVE_SIGNAL_H 1
- #define HAVE_STDARG_H 1
- #define HAVE_STDINT_H 1
- #define HAVE_STDLIB_H 1
- #define HAVE_STRDUP 1
- #define HAVE_STRTOK_R 1
- #define HAVE_STRTOLL 1
- #define HAVE_SYS_STAT_H 1
- #define HAVE_SYS_TYPES_H 1
- #define SIZEOF_CHAR 1
- /*
- * Needed by libevent
- */
- /* #undef HAVE_SOCKLEN_T */
- /* For --secure-file-priv */
- #define DEFAULT_SECURE_FILE_PRIV_DIR "NULL"
- #define DEFAULT_SECURE_FILE_PRIV_EMBEDDED_DIR "NULL"
- /* #undef HAVE_LIBNUMA */
- /* For default value of --early_plugin_load */
- /* #undef DEFAULT_EARLY_PLUGIN_LOAD */
- #endif
|