| innodb_priv.h | | innodb_priv.h | |
| | | | |
| skipping to change at line 14 | | skipping to change at line 14 | |
| it under the terms of the GNU General Public License as published by | | it under the terms of the GNU General Public License as published by | |
| the Free Software Foundation; version 2 of the License. | | the Free Software Foundation; version 2 of the License. | |
| | | | |
| This program is distributed in the hope that it will be useful, | | This program is distributed in the hope that it will be useful, | |
| but WITHOUT ANY WARRANTY; without even the implied warranty of | | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| GNU General Public License for more details. | | GNU General Public License for more details. | |
| | | | |
| You should have received a copy of the GNU General Public License | | You should have received a copy of the GNU General Public License | |
| along with this program; if not, write to the Free Software | | along with this program; if not, write to the Free Software | |
|
| Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 US
A */ | | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
, USA */ | |
| | | | |
| #ifndef INNODB_PRIV_INCLUDED | | #ifndef INNODB_PRIV_INCLUDED | |
| #define INNODB_PRIV_INCLUDED | | #define INNODB_PRIV_INCLUDED | |
| | | | |
| /** @file Declaring server-internal functions that are used by InnoDB. */ | | /** @file Declaring server-internal functions that are used by InnoDB. */ | |
| | | | |
| #include <sql_priv.h> | | #include <sql_priv.h> | |
| | | | |
| class THD; | | class THD; | |
| | | | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| my_config.h | | my_config.h | |
| | | | |
| skipping to change at line 123 | | skipping to change at line 123 | |
| #define HAVE_LIBCRYPT 1 | | #define HAVE_LIBCRYPT 1 | |
| /* #undef HAVE_LIBMTMALLOC */ | | /* #undef HAVE_LIBMTMALLOC */ | |
| /* #undef HAVE_LIBWRAP */ | | /* #undef HAVE_LIBWRAP */ | |
| /* #undef HAVE_LIBRESOLV */ | | /* #undef HAVE_LIBRESOLV */ | |
| /* Does "struct timespec" have a "sec" and "nsec" field? */ | | /* Does "struct timespec" have a "sec" and "nsec" field? */ | |
| /* #undef HAVE_TIMESPEC_TS_SEC */ | | /* #undef HAVE_TIMESPEC_TS_SEC */ | |
| | | | |
| /* Readline */ | | /* Readline */ | |
| #define HAVE_HIST_ENTRY 1 | | #define HAVE_HIST_ENTRY 1 | |
| #define USE_LIBEDIT_INTERFACE 1 | | #define USE_LIBEDIT_INTERFACE 1 | |
|
| /* #undef USE_NEW_READLINE_INTERFACE */ | | | |
| | | | |
| #define FIONREAD_IN_SYS_IOCTL 1 | | #define FIONREAD_IN_SYS_IOCTL 1 | |
| #define GWINSZ_IN_SYS_IOCTL 1 | | #define GWINSZ_IN_SYS_IOCTL 1 | |
| /* #undef TIOCSTAT_IN_SYS_IOCTL */ | | /* #undef TIOCSTAT_IN_SYS_IOCTL */ | |
| /* #undef FIONREAD_IN_SYS_FILIO */ | | /* #undef FIONREAD_IN_SYS_FILIO */ | |
| | | | |
| /* Functions we may want to use. */ | | /* Functions we may want to use. */ | |
| /* #undef HAVE_ALIGNED_MALLOC */ | | /* #undef HAVE_ALIGNED_MALLOC */ | |
| /* #undef HAVE_ALIGNED_FREE */ | | /* #undef HAVE_ALIGNED_FREE */ | |
| /* #undef HAVE_AIOWAIT */ | | /* #undef HAVE_AIOWAIT */ | |
| | | | |
| skipping to change at line 197 | | skipping to change at line 196 | |
| #define HAVE_LONGJMP 1 | | #define HAVE_LONGJMP 1 | |
| #define HAVE_LSTAT 1 | | #define HAVE_LSTAT 1 | |
| #define HAVE_MEMALIGN 1 | | #define HAVE_MEMALIGN 1 | |
| /* #define HAVE_MLOCK 1 see Bug#54662 */ | | /* #define HAVE_MLOCK 1 see Bug#54662 */ | |
| #define HAVE_NPTL 1 | | #define HAVE_NPTL 1 | |
| #define HAVE_NL_LANGINFO 1 | | #define HAVE_NL_LANGINFO 1 | |
| #define HAVE_MADVISE 1 | | #define HAVE_MADVISE 1 | |
| #define HAVE_DECL_MADVISE 1 | | #define HAVE_DECL_MADVISE 1 | |
| #define HAVE_DECL_TGOTO 1 | | #define HAVE_DECL_TGOTO 1 | |
| /* #undef HAVE_DECL_MHA_MAPSIZE_VA */ | | /* #undef HAVE_DECL_MHA_MAPSIZE_VA */ | |
|
| #define HAVE_MALLINFO 1 | | #define HAVE_MALLOC_INFO 1 | |
| #define HAVE_MEMCPY 1 | | #define HAVE_MEMCPY 1 | |
| #define HAVE_MEMMOVE 1 | | #define HAVE_MEMMOVE 1 | |
| #define HAVE_MKSTEMP 1 | | #define HAVE_MKSTEMP 1 | |
| #define HAVE_MLOCKALL 1 | | #define HAVE_MLOCKALL 1 | |
| #define HAVE_MMAP 1 | | #define HAVE_MMAP 1 | |
| #define HAVE_MMAP64 1 | | #define HAVE_MMAP64 1 | |
| #define HAVE_PERROR 1 | | #define HAVE_PERROR 1 | |
| #define HAVE_POLL 1 | | #define HAVE_POLL 1 | |
| /* #undef HAVE_PORT_CREATE */ | | /* #undef HAVE_PORT_CREATE */ | |
| #define HAVE_POSIX_FALLOCATE 1 | | #define HAVE_POSIX_FALLOCATE 1 | |
| | | | |
| skipping to change at line 628 | | skipping to change at line 627 | |
| /* #undef WITH_MYISAMMRG_STORAGE_ENGINE */ | | /* #undef WITH_MYISAMMRG_STORAGE_ENGINE */ | |
| /* #undef WITH_HEAP_STORAGE_ENGINE */ | | /* #undef WITH_HEAP_STORAGE_ENGINE */ | |
| /* #undef WITH_CSV_STORAGE_ENGINE */ | | /* #undef WITH_CSV_STORAGE_ENGINE */ | |
| #define WITH_PARTITION_STORAGE_ENGINE 1 | | #define WITH_PARTITION_STORAGE_ENGINE 1 | |
| /* #undef WITH_PERFSCHEMA_STORAGE_ENGINE */ | | /* #undef WITH_PERFSCHEMA_STORAGE_ENGINE */ | |
| /* #undef WITH_NDBCLUSTER_STORAGE_ENGINE */ | | /* #undef WITH_NDBCLUSTER_STORAGE_ENGINE */ | |
| #if (WITH_NDBCLUSTER_STORAGE_ENGINE) && !defined(EMBEDDED_LIBRARY) | | #if (WITH_NDBCLUSTER_STORAGE_ENGINE) && !defined(EMBEDDED_LIBRARY) | |
| # define HAVE_NDB_BINLOG 1 | | # define HAVE_NDB_BINLOG 1 | |
| #endif | | #endif | |
| | | | |
|
| #define DEFAULT_MYSQL_HOME "/home/ut/testing/mysql/5.6.11" | | #define DEFAULT_MYSQL_HOME "/home/ut/testing/mysql/5.6.12" | |
| #define SHAREDIR "/home/ut/testing/mysql/5.6.11/share" | | #define SHAREDIR "/home/ut/testing/mysql/5.6.12/share" | |
| #define DEFAULT_BASEDIR "/home/ut/testing/mysql/5.6.11" | | #define DEFAULT_BASEDIR "/home/ut/testing/mysql/5.6.12" | |
| #define MYSQL_DATADIR "/home/ut/testing/mysql/5.6.11/data" | | #define MYSQL_DATADIR "/home/ut/testing/mysql/5.6.12/data" | |
| #define DEFAULT_CHARSET_HOME "/home/ut/testing/mysql/5.6.11" | | #define DEFAULT_CHARSET_HOME "/home/ut/testing/mysql/5.6.12" | |
| #define PLUGINDIR "/home/ut/testing/mysql/5.6.11/lib/plugin" | | #define PLUGINDIR "/home/ut/testing/mysql/5.6.12/lib/plugin" | |
| #define DEFAULT_SYSCONFDIR "/home/ut/testing/mysql/5.6.11/etc" | | #define DEFAULT_SYSCONFDIR "/home/ut/testing/mysql/5.6.12/etc" | |
| | | | |
| /* #undef SO_EXT */ | | /* #undef SO_EXT */ | |
| | | | |
| #define MYSQL_VERSION_MAJOR 5 | | #define MYSQL_VERSION_MAJOR 5 | |
| #define MYSQL_VERSION_MINOR 6 | | #define MYSQL_VERSION_MINOR 6 | |
|
| #define MYSQL_VERSION_PATCH 11 | | #define MYSQL_VERSION_PATCH 12 | |
| #define MYSQL_VERSION_EXTRA "" | | #define MYSQL_VERSION_EXTRA "" | |
| | | | |
| #define PACKAGE "mysql" | | #define PACKAGE "mysql" | |
| #define PACKAGE_BUGREPORT "" | | #define PACKAGE_BUGREPORT "" | |
| #define PACKAGE_NAME "MySQL Server" | | #define PACKAGE_NAME "MySQL Server" | |
|
| #define PACKAGE_STRING "MySQL Server 5.6.11" | | #define PACKAGE_STRING "MySQL Server 5.6.12" | |
| #define PACKAGE_TARNAME "mysql" | | #define PACKAGE_TARNAME "mysql" | |
|
| #define PACKAGE_VERSION "5.6.11" | | #define PACKAGE_VERSION "5.6.12" | |
| #define VERSION "5.6.11" | | #define VERSION "5.6.12" | |
| #define PROTOCOL_VERSION 10 | | #define PROTOCOL_VERSION 10 | |
| | | | |
| /* time_t related defines */ | | /* time_t related defines */ | |
| | | | |
| #define SIZEOF_TIME_T 4 | | #define SIZEOF_TIME_T 4 | |
| /* #undef TIME_T_UNSIGNED */ | | /* #undef TIME_T_UNSIGNED */ | |
| | | | |
| /* CPU information */ | | /* CPU information */ | |
| | | | |
| #define CPU_LEVEL1_DCACHE_LINESIZE 64 | | #define CPU_LEVEL1_DCACHE_LINESIZE 64 | |
| | | | |
End of changes. 6 change blocks. |
| 13 lines changed or deleted | | 12 lines changed or added | |
|
| my_dbug.h | | my_dbug.h | |
| | | | |
| skipping to change at line 42 | | skipping to change at line 42 | |
| #if !defined(DBUG_OFF) && !defined(_lint) | | #if !defined(DBUG_OFF) && !defined(_lint) | |
| | | | |
| struct _db_stack_frame_ { | | struct _db_stack_frame_ { | |
| const char *func; /* function name of the previous stack frame
*/ | | const char *func; /* function name of the previous stack frame
*/ | |
| const char *file; /* filename of the function of previous frame
*/ | | const char *file; /* filename of the function of previous frame
*/ | |
| uint level; /* this nesting level, highest bit enables tracing
*/ | | uint level; /* this nesting level, highest bit enables tracing
*/ | |
| struct _db_stack_frame_ *prev; /* pointer to the previous frame */ | | struct _db_stack_frame_ *prev; /* pointer to the previous frame */ | |
| }; | | }; | |
| | | | |
| struct _db_code_state_; | | struct _db_code_state_; | |
|
| extern my_bool _dbug_on_; | | extern MYSQL_PLUGIN_IMPORT my_bool _dbug_on_; | |
| extern my_bool _db_keyword_(struct _db_code_state_ *, const char *, int); | | extern my_bool _db_keyword_(struct _db_code_state_ *, const char *, int); | |
| extern int _db_explain_(struct _db_code_state_ *cs, char *buf, size_t len)
; | | extern int _db_explain_(struct _db_code_state_ *cs, char *buf, size_t len)
; | |
| extern int _db_explain_init_(char *buf, size_t len); | | extern int _db_explain_init_(char *buf, size_t len); | |
| extern int _db_is_pushed_(void); | | extern int _db_is_pushed_(void); | |
| extern void _db_setjmp_(void); | | extern void _db_setjmp_(void); | |
| extern void _db_longjmp_(void); | | extern void _db_longjmp_(void); | |
| extern void _db_process_(const char *name); | | extern void _db_process_(const char *name); | |
| extern void _db_push_(const char *control); | | extern void _db_push_(const char *control); | |
| extern void _db_pop_(void); | | extern void _db_pop_(void); | |
| extern void _db_set_(const char *control); | | extern void _db_set_(const char *control); | |
| extern void _db_set_init_(const char *control); | | extern void _db_set_init_(const char *control); | |
| extern void _db_enter_(const char *_func_, const char *_file_, uint _line_, | | extern void _db_enter_(const char *_func_, const char *_file_, uint _line_, | |
| struct _db_stack_frame_ *_stack_frame_); | | struct _db_stack_frame_ *_stack_frame_); | |
| extern void _db_return_(uint _line_, struct _db_stack_frame_ *_stack_frame
_); | | extern void _db_return_(uint _line_, struct _db_stack_frame_ *_stack_frame
_); | |
| extern void _db_pargs_(uint _line_,const char *keyword); | | extern void _db_pargs_(uint _line_,const char *keyword); | |
|
| | | extern int _db_enabled_(); | |
| extern void _db_doprnt_(const char *format,...) | | extern void _db_doprnt_(const char *format,...) | |
| ATTRIBUTE_FORMAT(printf, 1, 2); | | ATTRIBUTE_FORMAT(printf, 1, 2); | |
| extern void _db_dump_(uint _line_,const char *keyword, | | extern void _db_dump_(uint _line_,const char *keyword, | |
| const unsigned char *memory, size_t length); | | const unsigned char *memory, size_t length); | |
| extern void _db_end_(void); | | extern void _db_end_(void); | |
| extern void _db_lock_file_(void); | | extern void _db_lock_file_(void); | |
| extern void _db_unlock_file_(void); | | extern void _db_unlock_file_(void); | |
| extern FILE *_db_fp_(void); | | extern FILE *_db_fp_(void); | |
| extern void _db_flush_(); | | extern void _db_flush_(); | |
| extern const char* _db_get_func_(void); | | extern const char* _db_get_func_(void); | |
| | | | |
| skipping to change at line 83 | | skipping to change at line 84 | |
| #define DBUG_VOID_RETURN do {DBUG_LEAVE; return;} while(0) | | #define DBUG_VOID_RETURN do {DBUG_LEAVE; return;} while(0) | |
| #define DBUG_EXECUTE(keyword,a1) \ | | #define DBUG_EXECUTE(keyword,a1) \ | |
| do {if (_db_keyword_(0, (keyword), 0)) { a1 }} while(0) | | do {if (_db_keyword_(0, (keyword), 0)) { a1 }} while(0) | |
| #define DBUG_EXECUTE_IF(keyword,a1) \ | | #define DBUG_EXECUTE_IF(keyword,a1) \ | |
| do {if (_db_keyword_(0, (keyword), 1)) { a1 }} while(0) | | do {if (_db_keyword_(0, (keyword), 1)) { a1 }} while(0) | |
| #define DBUG_EVALUATE(keyword,a1,a2) \ | | #define DBUG_EVALUATE(keyword,a1,a2) \ | |
| (_db_keyword_(0,(keyword), 0) ? (a1) : (a2)) | | (_db_keyword_(0,(keyword), 0) ? (a1) : (a2)) | |
| #define DBUG_EVALUATE_IF(keyword,a1,a2) \ | | #define DBUG_EVALUATE_IF(keyword,a1,a2) \ | |
| (_db_keyword_(0,(keyword), 1) ? (a1) : (a2)) | | (_db_keyword_(0,(keyword), 1) ? (a1) : (a2)) | |
| #define DBUG_PRINT(keyword,arglist) \ | | #define DBUG_PRINT(keyword,arglist) \ | |
|
| do {_db_pargs_(__LINE__,keyword); _db_doprnt_ arglist;} while(0) | | do \ | |
| | | { \ | |
| | | if (_dbug_on_) \ | |
| | | { \ | |
| | | _db_pargs_(__LINE__,keyword); \ | |
| | | if (_db_enabled_()) \ | |
| | | { \ | |
| | | _db_doprnt_ arglist; \ | |
| | | } \ | |
| | | } \ | |
| | | } while(0) | |
| #define DBUG_PUSH(a1) _db_push_ (a1) | | #define DBUG_PUSH(a1) _db_push_ (a1) | |
| #define DBUG_POP() _db_pop_ () | | #define DBUG_POP() _db_pop_ () | |
| #define DBUG_SET(a1) _db_set_ (a1) | | #define DBUG_SET(a1) _db_set_ (a1) | |
| #define DBUG_SET_INITIAL(a1) _db_set_init_ (a1) | | #define DBUG_SET_INITIAL(a1) _db_set_init_ (a1) | |
| #define DBUG_PROCESS(a1) _db_process_(a1) | | #define DBUG_PROCESS(a1) _db_process_(a1) | |
| #define DBUG_FILE _db_fp_() | | #define DBUG_FILE _db_fp_() | |
| #define DBUG_SETJMP(a1) (_db_setjmp_ (), setjmp (a1)) | | #define DBUG_SETJMP(a1) (_db_setjmp_ (), setjmp (a1)) | |
| #define DBUG_LONGJMP(a1,a2) (_db_longjmp_ (), longjmp (a1, a2)) | | #define DBUG_LONGJMP(a1,a2) (_db_longjmp_ (), longjmp (a1, a2)) | |
| #define DBUG_DUMP(keyword,a1,a2) _db_dump_(__LINE__,keyword,a1,a2) | | #define DBUG_DUMP(keyword,a1,a2) _db_dump_(__LINE__,keyword,a1,a2) | |
| #define DBUG_END() _db_end_ () | | #define DBUG_END() _db_end_ () | |
| | | | |
End of changes. 3 change blocks. |
| 2 lines changed or deleted | | 13 lines changed or added | |
|
| my_global.h | | my_global.h | |
| /* | | /* | |
|
| Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reser
ved. | | Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reser
ved. | |
| | | | |
| This program is free software; you can redistribute it and/or modify | | 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 | | it under the terms of the GNU General Public License as published by | |
| the Free Software Foundation; version 2 of the License. | | the Free Software Foundation; version 2 of the License. | |
| | | | |
| This program is distributed in the hope that it will be useful, | | This program is distributed in the hope that it will be useful, | |
| but WITHOUT ANY WARRANTY; without even the implied warranty of | | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| GNU General Public License for more details. | | GNU General Public License for more details. | |
| | | | |
| | | | |
| skipping to change at line 50 | | skipping to change at line 50 | |
| #undef WIN | | #undef WIN | |
| #undef WIN32 | | #undef WIN32 | |
| #undef _WIN | | #undef _WIN | |
| #undef _WIN32 | | #undef _WIN32 | |
| #undef _WIN64 | | #undef _WIN64 | |
| #undef __WIN__ | | #undef __WIN__ | |
| #undef __WIN32__ | | #undef __WIN32__ | |
| #define HAVE_ERRNO_AS_DEFINE | | #define HAVE_ERRNO_AS_DEFINE | |
| #endif /* __CYGWIN__ */ | | #endif /* __CYGWIN__ */ | |
| | | | |
|
| #if defined(__OpenBSD__) && (OpenBSD >= 200411) | | | |
| #define HAVE_ERRNO_AS_DEFINE | | | |
| #endif | | | |
| | | | |
| #if defined(i386) && !defined(__i386__) | | #if defined(i386) && !defined(__i386__) | |
| #define __i386__ | | #define __i386__ | |
| #endif | | #endif | |
| | | | |
| /* Macros to make switching between C and C++ mode easier */ | | /* Macros to make switching between C and C++ mode easier */ | |
| #ifdef __cplusplus | | #ifdef __cplusplus | |
| #define C_MODE_START extern "C" { | | #define C_MODE_START extern "C" { | |
| #define C_MODE_END } | | #define C_MODE_END } | |
| #else | | #else | |
| #define C_MODE_START | | #define C_MODE_START | |
| | | | |
| skipping to change at line 1020 | | skipping to change at line 1016 | |
| #define reg9 register | | #define reg9 register | |
| #define reg10 register | | #define reg10 register | |
| #define reg11 register | | #define reg11 register | |
| #define reg12 register | | #define reg12 register | |
| #define reg13 register | | #define reg13 register | |
| #define reg14 register | | #define reg14 register | |
| #define reg15 register | | #define reg15 register | |
| #define reg16 register | | #define reg16 register | |
| #endif | | #endif | |
| | | | |
|
| #include <my_dbug.h> | | | |
| | | | |
| /* Some helper macros */ | | /* Some helper macros */ | |
| #define YESNO(X) ((X) ? "yes" : "no") | | #define YESNO(X) ((X) ? "yes" : "no") | |
| | | | |
| #define MY_HOW_OFTEN_TO_ALARM 2 /* How often we want info on screen
*/ | | #define MY_HOW_OFTEN_TO_ALARM 2 /* How often we want info on screen
*/ | |
| #define MY_HOW_OFTEN_TO_WRITE 1000 /* How often we want info on screen
*/ | | #define MY_HOW_OFTEN_TO_WRITE 1000 /* How often we want info on screen
*/ | |
| | | | |
| #include <my_byteorder.h> | | #include <my_byteorder.h> | |
| | | | |
| #ifdef HAVE_CHARSET_utf8 | | #ifdef HAVE_CHARSET_utf8 | |
| #define MYSQL_UNIVERSAL_CLIENT_CHARSET "utf8" | | #define MYSQL_UNIVERSAL_CLIENT_CHARSET "utf8" | |
| | | | |
| skipping to change at line 1188 | | skipping to change at line 1182 | |
| Outside of Windows, it is dummy. | | Outside of Windows, it is dummy. | |
| */ | | */ | |
| #ifndef MYSQL_PLUGIN_IMPORT | | #ifndef MYSQL_PLUGIN_IMPORT | |
| #if (defined(_WIN32) && defined(MYSQL_DYNAMIC_PLUGIN)) | | #if (defined(_WIN32) && defined(MYSQL_DYNAMIC_PLUGIN)) | |
| #define MYSQL_PLUGIN_IMPORT __declspec(dllimport) | | #define MYSQL_PLUGIN_IMPORT __declspec(dllimport) | |
| #else | | #else | |
| #define MYSQL_PLUGIN_IMPORT | | #define MYSQL_PLUGIN_IMPORT | |
| #endif | | #endif | |
| #endif | | #endif | |
| | | | |
|
| | | #include <my_dbug.h> | |
| | | | |
| /* Defines that are unique to the embedded version of MySQL */ | | /* Defines that are unique to the embedded version of MySQL */ | |
| | | | |
| #ifdef EMBEDDED_LIBRARY | | #ifdef EMBEDDED_LIBRARY | |
| | | | |
| /* Things we don't need in the embedded version of MySQL */ | | /* 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
*/ | | /* TODO HF add #undef HAVE_VIO if we don't want client in embedded library
*/ | |
| | | | |
| #undef HAVE_OPENSSL | | #undef HAVE_OPENSSL | |
| #undef HAVE_SMEM /* No shared memory */ | | #undef HAVE_SMEM /* No shared memory */ | |
| | | | |
| | | | |
End of changes. 4 change blocks. |
| 7 lines changed or deleted | | 3 lines changed or added | |
|
| my_pthread.h | | my_pthread.h | |
| | | | |
| skipping to change at line 14 | | skipping to change at line 14 | |
| it under the terms of the GNU General Public License as published by | | it under the terms of the GNU General Public License as published by | |
| the Free Software Foundation; version 2 of the License. | | the Free Software Foundation; version 2 of the License. | |
| | | | |
| This program is distributed in the hope that it will be useful, | | This program is distributed in the hope that it will be useful, | |
| but WITHOUT ANY WARRANTY; without even the implied warranty of | | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| GNU General Public License for more details. | | GNU General Public License for more details. | |
| | | | |
| You should have received a copy of the GNU General Public License | | You should have received a copy of the GNU General Public License | |
| along with this program; if not, write to the Free Software | | along with this program; if not, write to the Free Software | |
|
| Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 US
A */ | | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
, USA */ | |
| | | | |
| /* Defines to make different thread packages compatible */ | | /* Defines to make different thread packages compatible */ | |
| | | | |
| #ifndef _my_pthread_h | | #ifndef _my_pthread_h | |
| #define _my_pthread_h | | #define _my_pthread_h | |
| | | | |
| #include "my_global.h" /* myf */ | | #include "my_global.h" /* myf */ | |
| | | | |
| #ifndef ETIME | | #ifndef ETIME | |
| #define ETIME ETIMEDOUT /* For FreeBSD */ | | #define ETIME ETIMEDOUT /* For FreeBSD */ | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| my_sys.h | | my_sys.h | |
| | | | |
| skipping to change at line 236 | | skipping to change at line 236 | |
| #if defined(__GNUC__) && !defined(HAVE_ALLOCA_H) && ! defined(alloca) | | #if defined(__GNUC__) && !defined(HAVE_ALLOCA_H) && ! defined(alloca) | |
| #define alloca __builtin_alloca | | #define alloca __builtin_alloca | |
| #endif /* GNUC */ | | #endif /* GNUC */ | |
| #define my_alloca(SZ) alloca((size_t) (SZ)) | | #define my_alloca(SZ) alloca((size_t) (SZ)) | |
| #define my_afree(PTR) {} | | #define my_afree(PTR) {} | |
| #else | | #else | |
| #define my_alloca(SZ) my_malloc(SZ,MYF(MY_FAE)) | | #define my_alloca(SZ) my_malloc(SZ,MYF(MY_FAE)) | |
| #define my_afree(PTR) my_free(PTR) | | #define my_afree(PTR) my_free(PTR) | |
| #endif /* HAVE_ALLOCA */ | | #endif /* HAVE_ALLOCA */ | |
| | | | |
|
| #ifndef errno /* did we already get it? */ | | | |
| #ifdef HAVE_ERRNO_AS_DEFINE | | | |
| #include <errno.h> /* errno is a define */ | | #include <errno.h> /* errno is a define */ | |
|
| #else | | | |
| extern int errno; /* declare errno */ | | | |
| #endif | | | |
| #endif /* #ifndef errno */ | | | |
| extern char *home_dir; /* Home directory for user */ | | extern char *home_dir; /* Home directory for user */ | |
| extern const char *my_progname; /* program-name (printed in
errors) */ | | extern const char *my_progname; /* program-name (printed in
errors) */ | |
| extern char curr_dir[]; /* Current directory for user */ | | extern char curr_dir[]; /* Current directory for user */ | |
| extern void (*error_handler_hook)(uint my_err, const char *str,myf MyFlags)
; | | extern void (*error_handler_hook)(uint my_err, const char *str,myf MyFlags)
; | |
| extern void (*fatal_error_handler_hook)(uint my_err, const char *str, | | extern void (*fatal_error_handler_hook)(uint my_err, const char *str, | |
| myf MyFlags); | | myf MyFlags); | |
| extern void(*sql_print_warning_hook)(const char *format,...); | | extern void(*sql_print_warning_hook)(const char *format,...); | |
| extern uint my_file_limit; | | extern uint my_file_limit; | |
| extern ulong my_thread_stack_size; | | extern ulong my_thread_stack_size; | |
| | | | |
| | | | |
End of changes. 2 change blocks. |
| 6 lines changed or deleted | | 1 lines changed or added | |
|
| mysql_time.h | | mysql_time.h | |
| | | | |
| skipping to change at line 14 | | skipping to change at line 14 | |
| it under the terms of the GNU General Public License as published by | | it under the terms of the GNU General Public License as published by | |
| the Free Software Foundation; version 2 of the License. | | the Free Software Foundation; version 2 of the License. | |
| | | | |
| This program is distributed in the hope that it will be useful, | | This program is distributed in the hope that it will be useful, | |
| but WITHOUT ANY WARRANTY; without even the implied warranty of | | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| GNU General Public License for more details. | | GNU General Public License for more details. | |
| | | | |
| You should have received a copy of the GNU General Public License | | You should have received a copy of the GNU General Public License | |
| along with this program; if not, write to the Free Software | | along with this program; if not, write to the Free Software | |
|
| Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ | | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
USA */ | |
| | | | |
| #ifndef _mysql_time_h_ | | #ifndef _mysql_time_h_ | |
| #define _mysql_time_h_ | | #define _mysql_time_h_ | |
| | | | |
| /* | | /* | |
| Time declarations shared between the server and client API: | | Time declarations shared between the server and client API: | |
| you should not add anything to this header unless it's used | | you should not add anything to this header unless it's used | |
| (and hence should be visible) in mysql.h. | | (and hence should be visible) in mysql.h. | |
| If you're looking for a place to add new time-related declaration, | | If you're looking for a place to add new time-related declaration, | |
| it's most likely my_time.h. See also "C API Handling of Date | | it's most likely my_time.h. See also "C API Handling of Date | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| mysqld_ername.h | | mysqld_ername.h | |
| | | | |
| skipping to change at line 867 | | skipping to change at line 867 | |
| { "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_AUTOINC", 1854, "Adding an auto-
increment column requires a lock" }, | | { "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_AUTOINC", 1854, "Adding an auto-
increment column requires a lock" }, | |
| { "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_HIDDEN_FTS", 1855, "Cannot repla
ce hidden FTS_DOC_ID with a user-visible one" }, | | { "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_HIDDEN_FTS", 1855, "Cannot repla
ce hidden FTS_DOC_ID with a user-visible one" }, | |
| { "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_CHANGE_FTS", 1856, "Cannot drop
or rename FTS_DOC_ID" }, | | { "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_CHANGE_FTS", 1856, "Cannot drop
or rename FTS_DOC_ID" }, | |
| { "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FTS", 1857, "Fulltext index crea
tion requires a lock" }, | | { "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FTS", 1857, "Fulltext index crea
tion requires a lock" }, | |
| { "ER_SQL_SLAVE_SKIP_COUNTER_NOT_SETTABLE_IN_GTID_MODE", 1858, "sql_slave_s
kip_counter can not be set when the server is running with @@GLOBAL.GTID_MO
DE = ON. Instead, for each transaction that you want to skip, generate an e
mpty transaction with the same GTID as the transaction" }, | | { "ER_SQL_SLAVE_SKIP_COUNTER_NOT_SETTABLE_IN_GTID_MODE", 1858, "sql_slave_s
kip_counter can not be set when the server is running with @@GLOBAL.GTID_MO
DE = ON. Instead, for each transaction that you want to skip, generate an e
mpty transaction with the same GTID as the transaction" }, | |
| { "ER_DUP_UNKNOWN_IN_INDEX", 1859, "Duplicate entry for key \'%-.192s\'" }, | | { "ER_DUP_UNKNOWN_IN_INDEX", 1859, "Duplicate entry for key \'%-.192s\'" }, | |
| { "ER_IDENT_CAUSES_TOO_LONG_PATH", 1860, "Long database name and identifier
for object resulted in path length exceeding %d characters. Path: \'%s\'."
}, | | { "ER_IDENT_CAUSES_TOO_LONG_PATH", 1860, "Long database name and identifier
for object resulted in path length exceeding %d characters. Path: \'%s\'."
}, | |
| { "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_NOT_NULL", 1861, "cannot silentl
y convert NULL values, as required in this SQL_MODE" }, | | { "ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_NOT_NULL", 1861, "cannot silentl
y convert NULL values, as required in this SQL_MODE" }, | |
| { "ER_MUST_CHANGE_PASSWORD_LOGIN", 1862, "Your password has expired. To log
in you must change it using a client that supports expired passwords." }, | | { "ER_MUST_CHANGE_PASSWORD_LOGIN", 1862, "Your password has expired. To log
in you must change it using a client that supports expired passwords." }, | |
| { "ER_ROW_IN_WRONG_PARTITION", 1863, "Found a row in wrong partition %s" }, | | { "ER_ROW_IN_WRONG_PARTITION", 1863, "Found a row in wrong partition %s" }, | |
|
| | | { "ER_MTS_EVENT_BIGGER_PENDING_JOBS_SIZE_MAX", 1864, "Cannot schedule event | |
| | | %s, relay-log name %s, position %s to Worker thread because its size %lu e | |
| | | xceeds %lu of slave_pending_jobs_size_max." }, | |
| | | { "ER_INNODB_NO_FT_USES_PARSER", 1865, "Cannot CREATE FULLTEXT INDEX WITH P | |
| | | ARSER on InnoDB table" }, | |
| | | { "ER_BINLOG_LOGICAL_CORRUPTION", 1866, "The binary log file \'%s\' is logi | |
| | | cally corrupted: %s" }, | |
| | | { "ER_WARN_PURGE_LOG_IN_USE", 1867, "file %s was not purged because it was | |
| | | being read by %d thread(s), purged only %d out of %d files." }, | |
| | | { "ER_WARN_PURGE_LOG_IS_ACTIVE", 1868, "file %s was not purged because it i | |
| | | s the active log file." }, | |
| | | { "ER_AUTO_INCREMENT_CONFLICT", 1869, "Auto-increment value in UPDATE confl | |
| | | icts with internally generated values" }, | |
| | | { "WARN_ON_BLOCKHOLE_IN_RBR", 1870, "Row events are not logged for %s state | |
| | | ments that modify BLACKHOLE tables in row format. Table(s): \'%-.192s\'" }, | |
| | | { "ER_SLAVE_MI_INIT_REPOSITORY", 1871, "Slave failed to initialize master i | |
| | | nfo structure from the repository" }, | |
| | | { "ER_SLAVE_RLI_INIT_REPOSITORY", 1872, "Slave failed to initialize relay l | |
| | | og info structure from the repository" }, | |
| | | | |
End of changes. 1 change blocks. |
| 0 lines changed or deleted | | 0 lines changed or added | |
|
| mysqld_error.h | | mysqld_error.h | |
| | | | |
| skipping to change at line 868 | | skipping to change at line 868 | |
| #define ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_AUTOINC 1854 | | #define ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_AUTOINC 1854 | |
| #define ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_HIDDEN_FTS 1855 | | #define ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_HIDDEN_FTS 1855 | |
| #define ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_CHANGE_FTS 1856 | | #define ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_CHANGE_FTS 1856 | |
| #define ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FTS 1857 | | #define ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FTS 1857 | |
| #define ER_SQL_SLAVE_SKIP_COUNTER_NOT_SETTABLE_IN_GTID_MODE 1858 | | #define ER_SQL_SLAVE_SKIP_COUNTER_NOT_SETTABLE_IN_GTID_MODE 1858 | |
| #define ER_DUP_UNKNOWN_IN_INDEX 1859 | | #define ER_DUP_UNKNOWN_IN_INDEX 1859 | |
| #define ER_IDENT_CAUSES_TOO_LONG_PATH 1860 | | #define ER_IDENT_CAUSES_TOO_LONG_PATH 1860 | |
| #define ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_NOT_NULL 1861 | | #define ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_NOT_NULL 1861 | |
| #define ER_MUST_CHANGE_PASSWORD_LOGIN 1862 | | #define ER_MUST_CHANGE_PASSWORD_LOGIN 1862 | |
| #define ER_ROW_IN_WRONG_PARTITION 1863 | | #define ER_ROW_IN_WRONG_PARTITION 1863 | |
|
| #define ER_ERROR_LAST 1863 | | #define ER_MTS_EVENT_BIGGER_PENDING_JOBS_SIZE_MAX 1864 | |
| | | #define ER_INNODB_NO_FT_USES_PARSER 1865 | |
| | | #define ER_BINLOG_LOGICAL_CORRUPTION 1866 | |
| | | #define ER_WARN_PURGE_LOG_IN_USE 1867 | |
| | | #define ER_WARN_PURGE_LOG_IS_ACTIVE 1868 | |
| | | #define ER_AUTO_INCREMENT_CONFLICT 1869 | |
| | | #define WARN_ON_BLOCKHOLE_IN_RBR 1870 | |
| | | #define ER_SLAVE_MI_INIT_REPOSITORY 1871 | |
| | | #define ER_SLAVE_RLI_INIT_REPOSITORY 1872 | |
| | | #define ER_ERROR_LAST 1872 | |
| | | | |
End of changes. 1 change blocks. |
| 0 lines changed or deleted | | 0 lines changed or added | |
|
| typelib.h | | typelib.h | |
| | | | |
| skipping to change at line 14 | | skipping to change at line 14 | |
| it under the terms of the GNU General Public License as published by | | it under the terms of the GNU General Public License as published by | |
| the Free Software Foundation; version 2 of the License. | | the Free Software Foundation; version 2 of the License. | |
| | | | |
| This program is distributed in the hope that it will be useful, | | This program is distributed in the hope that it will be useful, | |
| but WITHOUT ANY WARRANTY; without even the implied warranty of | | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| GNU General Public License for more details. | | GNU General Public License for more details. | |
| | | | |
| You should have received a copy of the GNU General Public License | | You should have received a copy of the GNU General Public License | |
| along with this program; if not, write to the Free Software | | along with this program; if not, write to the Free Software | |
|
| Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 US
A */ | | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
, USA */ | |
| | | | |
| #ifndef _typelib_h | | #ifndef _typelib_h | |
| #define _typelib_h | | #define _typelib_h | |
| | | | |
| #include "my_alloc.h" | | #include "my_alloc.h" | |
| | | | |
| typedef struct st_typelib { /* Different types saved here */ | | typedef struct st_typelib { /* Different types saved here */ | |
| unsigned int count; /* How many types */ | | unsigned int count; /* How many types */ | |
| const char *name; /* Name of typelib */ | | const char *name; /* Name of typelib */ | |
| const char **type_names; | | const char **type_names; | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|