my_config.h | my_config.h | |||
---|---|---|---|---|
skipping to change at line 586 | skipping to change at line 586 | |||
#define WITH_MYISAMMRG_STORAGE_ENGINE 1 | #define WITH_MYISAMMRG_STORAGE_ENGINE 1 | |||
#define WITH_HEAP_STORAGE_ENGINE 1 | #define WITH_HEAP_STORAGE_ENGINE 1 | |||
#define WITH_CSV_STORAGE_ENGINE 1 | #define WITH_CSV_STORAGE_ENGINE 1 | |||
#define WITH_PARTITION_STORAGE_ENGINE 1 | #define WITH_PARTITION_STORAGE_ENGINE 1 | |||
#define WITH_PERFSCHEMA_STORAGE_ENGINE 1 | #define WITH_PERFSCHEMA_STORAGE_ENGINE 1 | |||
/* #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.5.11" | #define DEFAULT_MYSQL_HOME "/home/ut/testing/mysql/5.5.12" | |||
#define SHAREDIR "/home/ut/testing/mysql/5.5.11/share" | #define SHAREDIR "/home/ut/testing/mysql/5.5.12/share" | |||
#define DEFAULT_BASEDIR "/home/ut/testing/mysql/5.5.11" | #define DEFAULT_BASEDIR "/home/ut/testing/mysql/5.5.12" | |||
#define MYSQL_DATADIR "/home/ut/testing/mysql/5.5.11/data" | #define MYSQL_DATADIR "/home/ut/testing/mysql/5.5.12/data" | |||
#define DEFAULT_CHARSET_HOME "/home/ut/testing/mysql/5.5.11" | #define DEFAULT_CHARSET_HOME "/home/ut/testing/mysql/5.5.12" | |||
#define PLUGINDIR "/home/ut/testing/mysql/5.5.11/lib/plugin" | #define PLUGINDIR "/home/ut/testing/mysql/5.5.12/lib/plugin" | |||
#define DEFAULT_SYSCONFDIR "/home/ut/testing/mysql/5.5.11/etc" | #define DEFAULT_SYSCONFDIR "/home/ut/testing/mysql/5.5.12/etc" | |||
/* #undef SO_EXT */ | /* #undef SO_EXT */ | |||
#define MYSQL_MAJOR_VERSION 5 | #define MYSQL_MAJOR_VERSION 5 | |||
#define MYSQL_MINOR_VERSION 5 | #define MYSQL_MINOR_VERSION 5 | |||
#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.5.11" | #define PACKAGE_STRING "MySQL Server 5.5.12" | |||
#define PACKAGE_TARNAME "mysql" | #define PACKAGE_TARNAME "mysql" | |||
#define PACKAGE_VERSION "5.5.11" | #define PACKAGE_VERSION "5.5.12" | |||
#define VERSION "5.5.11" | #define VERSION "5.5.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 */ | |||
#endif | #endif | |||
End of changes. 3 change blocks. | ||||
10 lines changed or deleted | 10 lines changed or added | |||
my_global.h | my_global.h | |||
---|---|---|---|---|
/* Copyright (C) 2000-2003 MySQL AB, 2009 Sun Microsystems, Inc | /* Copyright (c) 2000, 2011, 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 286 | skipping to change at line 286 | |||
#endif /* !defined(__WIN__) */ | #endif /* !defined(__WIN__) */ | |||
/* Go around some bugs in different OS and compilers */ | /* Go around some bugs in different OS and compilers */ | |||
#ifdef _AIX /* By soren@t.dk */ | #ifdef _AIX /* By soren@t.dk */ | |||
#define _H_STRINGS | #define _H_STRINGS | |||
#define _SYS_STREAM_H | #define _SYS_STREAM_H | |||
/* #define _AIX32_CURSES */ /* XXX: this breaks AIX 4.3.3 (others?). */ | /* #define _AIX32_CURSES */ /* XXX: this breaks AIX 4.3.3 (others?). */ | |||
#define ulonglong2double(A) my_ulonglong2double(A) | #define ulonglong2double(A) my_ulonglong2double(A) | |||
#define my_off_t2double(A) my_ulonglong2double(A) | #define my_off_t2double(A) my_ulonglong2double(A) | |||
C_MODE_START | C_MODE_START | |||
double my_ulonglong2double(unsigned long long A); | inline double my_ulonglong2double(unsigned long long A) { return (double A) ; } | |||
C_MODE_END | C_MODE_END | |||
#endif /* _AIX */ | #endif /* _AIX */ | |||
#ifdef HAVE_BROKEN_SNPRINTF /* HPUX 10.20 don't have this defined */ | #ifdef HAVE_BROKEN_SNPRINTF /* HPUX 10.20 don't have this defined */ | |||
#undef HAVE_SNPRINTF | #undef HAVE_SNPRINTF | |||
#endif | #endif | |||
#ifdef HAVE_BROKEN_PREAD | #ifdef HAVE_BROKEN_PREAD | |||
/* | /* | |||
pread()/pwrite() are not 64 bit safe on HP-UX 11.0 without | pread()/pwrite() are not 64 bit safe on HP-UX 11.0 without | |||
installing the kernel patch PHKL_20349 or greater | installing the kernel patch PHKL_20349 or greater | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
my_net.h | my_net.h | |||
---|---|---|---|---|
/* Copyright (C) 2000 MySQL AB | /* Copyright (c) 2000, 2011, 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 76 | skipping to change at line 76 | |||
/* | /* | |||
On OSes which don't have the in_addr_t, we guess that using uint32 is the best | On OSes which don't have the in_addr_t, we guess that using uint32 is the best | |||
possible choice. We guess this from the fact that on HP-UX64bit & FreeBSD 64bit | possible choice. We guess this from the fact that on HP-UX64bit & FreeBSD 64bit | |||
& Solaris64bit, in_addr_t is equivalent to uint32. And on Linux32bit too. | & Solaris64bit, in_addr_t is equivalent to uint32. And on Linux32bit too. | |||
*/ | */ | |||
#ifndef HAVE_IN_ADDR_T | #ifndef HAVE_IN_ADDR_T | |||
#define in_addr_t uint32 | #define in_addr_t uint32 | |||
#endif | #endif | |||
/* | ||||
Handling of gethostbyname_r() | ||||
*/ | ||||
#if !defined(HAVE_GETHOSTBYNAME_R) | ||||
struct hostent *my_gethostbyname_r(const char *name, | ||||
struct hostent *result, char *buffer, | ||||
int buflen, int *h_errnop); | ||||
void my_gethostbyname_r_free(); | ||||
#elif defined(HAVE_PTHREAD_ATTR_CREATE) || defined(_AIX) || defined(HAVE_GE | ||||
THOSTBYNAME_R_GLIBC2_STYLE) | ||||
struct hostent *my_gethostbyname_r(const char *name, | ||||
struct hostent *result, char *buffer, | ||||
int buflen, int *h_errnop); | ||||
#define my_gethostbyname_r_free() | ||||
#if !defined(HAVE_GETHOSTBYNAME_R_GLIBC2_STYLE) && !defined(HPUX10) | ||||
#define GETHOSTBYNAME_BUFF_SIZE sizeof(struct hostent_data) | ||||
#endif /* !defined(HAVE_GETHOSTBYNAME_R_GLIBC2_STYLE) */ | ||||
#elif defined(HAVE_GETHOSTBYNAME_R_RETURN_INT) | ||||
#define GETHOSTBYNAME_BUFF_SIZE sizeof(struct hostent_data) | ||||
struct hostent *my_gethostbyname_r(const char *name, | ||||
struct hostent *result, char *buffer, | ||||
int buflen, int *h_errnop); | ||||
#define my_gethostbyname_r_free() | ||||
#else | ||||
#define my_gethostbyname_r(A,B,C,D,E) gethostbyname_r((A),(B),(C),(D),(E)) | ||||
#define my_gethostbyname_r_free() | ||||
#endif /* !defined(HAVE_GETHOSTBYNAME_R) */ | ||||
#ifndef GETHOSTBYNAME_BUFF_SIZE | ||||
#define GETHOSTBYNAME_BUFF_SIZE 2048 | ||||
#endif | ||||
C_MODE_END | C_MODE_END | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
35 lines changed or deleted | 1 lines changed or added | |||
mysql_com.h | mysql_com.h | |||
---|---|---|---|---|
skipping to change at line 114 | skipping to change at line 114 | |||
#define ON_UPDATE_NOW_FLAG 8192 /* Field is set to NOW on UPDATE */ | #define ON_UPDATE_NOW_FLAG 8192 /* Field is set to NOW on UPDATE */ | |||
#define NUM_FLAG 32768 /* Field is num (for clients) */ | #define NUM_FLAG 32768 /* Field is num (for clients) */ | |||
#define PART_KEY_FLAG 16384 /* Intern; Part of some key */ | #define PART_KEY_FLAG 16384 /* Intern; Part of some key */ | |||
#define GROUP_FLAG 32768 /* Intern: Group field */ | #define GROUP_FLAG 32768 /* Intern: Group field */ | |||
#define UNIQUE_FLAG 65536 /* Intern: Used by sql_yacc */ | #define UNIQUE_FLAG 65536 /* Intern: Used by sql_yacc */ | |||
#define BINCMP_FLAG 131072 /* Intern: Used by sql_yacc */ | #define BINCMP_FLAG 131072 /* Intern: Used by sql_yacc */ | |||
#define GET_FIXED_FIELDS_FLAG (1 << 18) /* Used to get fields in item tree */ | #define GET_FIXED_FIELDS_FLAG (1 << 18) /* Used to get fields in item tree */ | |||
#define FIELD_IN_PART_FUNC_FLAG (1 << 19)/* Field part of partition func */ | #define FIELD_IN_PART_FUNC_FLAG (1 << 19)/* Field part of partition func */ | |||
#define FIELD_IN_ADD_INDEX (1<< 20) /* Intern: Field used in ADD INDEX * / | #define FIELD_IN_ADD_INDEX (1<< 20) /* Intern: Field used in ADD INDEX * / | |||
#define FIELD_IS_RENAMED (1<< 21) /* Intern: Field is being renamed * / | #define FIELD_IS_RENAMED (1<< 21) /* Intern: Field is being renamed * / | |||
#define FIELD_FLAGS_STORAGE_MEDIA 22 /* Field storage media, bit 22-23, | ||||
reserved by MySQL Cluster */ | ||||
#define FIELD_FLAGS_COLUMN_FORMAT 24 /* Field column format, bit 24-25, | ||||
reserved by MySQL Cluster */ | ||||
#define REFRESH_GRANT 1 /* Refresh grant tables */ | #define REFRESH_GRANT 1 /* Refresh grant tables */ | |||
#define REFRESH_LOG 2 /* Start on new log file */ | #define REFRESH_LOG 2 /* Start on new log file */ | |||
#define REFRESH_TABLES 4 /* close all tables */ | #define REFRESH_TABLES 4 /* close all tables */ | |||
#define REFRESH_HOSTS 8 /* Flush host cache */ | #define REFRESH_HOSTS 8 /* Flush host cache */ | |||
#define REFRESH_STATUS 16 /* Flush status variables */ | #define REFRESH_STATUS 16 /* Flush status variables */ | |||
#define REFRESH_THREADS 32 /* Flush thread cache */ | #define REFRESH_THREADS 32 /* Flush thread cache */ | |||
#define REFRESH_SLAVE 64 /* Reset master info and restart sl ave | #define REFRESH_SLAVE 64 /* Reset master info and restart sl ave | |||
thread */ | thread */ | |||
#define REFRESH_MASTER 128 /* Remove all bin logs in the index | #define REFRESH_MASTER 128 /* Remove all bin logs in the index | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 4 lines changed or added | |||
mysql_version.h | mysql_version.h | |||
---|---|---|---|---|
skipping to change at line 12 | skipping to change at line 12 | |||
This file is public domain and comes with NO WARRANTY of any kind */ | This file is public domain and comes with NO WARRANTY of any kind */ | |||
/* Version numbers for protocol & mysqld */ | /* Version numbers for protocol & mysqld */ | |||
#ifndef _mysql_version_h | #ifndef _mysql_version_h | |||
#define _mysql_version_h | #define _mysql_version_h | |||
#ifdef _CUSTOMCONFIG_ | #ifdef _CUSTOMCONFIG_ | |||
#include <custom_conf.h> | #include <custom_conf.h> | |||
#else | #else | |||
#define PROTOCOL_VERSION 10 | #define PROTOCOL_VERSION 10 | |||
#define MYSQL_SERVER_VERSION "5.5.11" | #define MYSQL_SERVER_VERSION "5.5.12" | |||
#define MYSQL_BASE_VERSION "mysqld-5.5" | #define MYSQL_BASE_VERSION "mysqld-5.5" | |||
#define MYSQL_SERVER_SUFFIX_DEF "" | #define MYSQL_SERVER_SUFFIX_DEF "" | |||
#define FRM_VER 6 | #define FRM_VER 6 | |||
#define MYSQL_VERSION_ID 50511 | #define MYSQL_VERSION_ID 50512 | |||
#define MYSQL_PORT 3306 | #define MYSQL_PORT 3306 | |||
#define MYSQL_PORT_DEFAULT 0 | #define MYSQL_PORT_DEFAULT 0 | |||
#define MYSQL_UNIX_ADDR "/tmp/mysql.sock" | #define MYSQL_UNIX_ADDR "/tmp/mysql.sock" | |||
#define MYSQL_CONFIG_NAME "my" | #define MYSQL_CONFIG_NAME "my" | |||
#define MYSQL_COMPILATION_COMMENT "Source distribution" | #define MYSQL_COMPILATION_COMMENT "Source distribution" | |||
/* mysqld compile time options */ | /* mysqld compile time options */ | |||
#endif /* _CUSTOMCONFIG_ */ | #endif /* _CUSTOMCONFIG_ */ | |||
#ifndef LICENSE | #ifndef LICENSE | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
mysqld_ername.h | mysqld_ername.h | |||
---|---|---|---|---|
skipping to change at line 711 | skipping to change at line 711 | |||
{ "ER_ACCESS_DENIED_NO_PASSWORD_ERROR", 1698, "Access denied for user \'%-. 48s\'@\'%-.64s\'" }, | { "ER_ACCESS_DENIED_NO_PASSWORD_ERROR", 1698, "Access denied for user \'%-. 48s\'@\'%-.64s\'" }, | |||
{ "ER_SET_PASSWORD_AUTH_PLUGIN", 1699, "SET PASSWORD has no significance fo r users authenticating via plugins" }, | { "ER_SET_PASSWORD_AUTH_PLUGIN", 1699, "SET PASSWORD has no significance fo r users authenticating via plugins" }, | |||
{ "ER_GRANT_PLUGIN_USER_EXISTS", 1700, "GRANT with IDENTIFIED WITH is illeg al because the user %-.*s already exists" }, | { "ER_GRANT_PLUGIN_USER_EXISTS", 1700, "GRANT with IDENTIFIED WITH is illeg al because the user %-.*s already exists" }, | |||
{ "ER_TRUNCATE_ILLEGAL_FK", 1701, "Cannot truncate a table referenced in a foreign key constraint (%.192s)" }, | { "ER_TRUNCATE_ILLEGAL_FK", 1701, "Cannot truncate a table referenced in a foreign key constraint (%.192s)" }, | |||
{ "ER_PLUGIN_IS_PERMANENT", 1702, "Plugin \'%s\' is force_plus_permanent an d can not be unloaded" }, | { "ER_PLUGIN_IS_PERMANENT", 1702, "Plugin \'%s\' is force_plus_permanent an d can not be unloaded" }, | |||
{ "ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE_MIN", 1703, "The requested value f or the heartbeat period is less than 1 millisecond. The value is reset to 0 , meaning that heartbeating will effectively be disabled." }, | { "ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE_MIN", 1703, "The requested value f or the heartbeat period is less than 1 millisecond. The value is reset to 0 , meaning that heartbeating will effectively be disabled." }, | |||
{ "ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE_MAX", 1704, "The requested value f or the heartbeat period exceeds the value of `slave_net_timeout\' seconds. A sensible value for the period should be less than the timeout." }, | { "ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE_MAX", 1704, "The requested value f or the heartbeat period exceeds the value of `slave_net_timeout\' seconds. A sensible value for the period should be less than the timeout." }, | |||
{ "ER_STMT_CACHE_FULL", 1705, "Multi-row statements required more than \'ma x_binlog_stmt_cache_size\' bytes of storage; increase this mysqld variable and try again" }, | { "ER_STMT_CACHE_FULL", 1705, "Multi-row statements required more than \'ma x_binlog_stmt_cache_size\' bytes of storage; increase this mysqld variable and try again" }, | |||
{ "ER_MULTI_UPDATE_KEY_CONFLICT", 1706, "Primary key/partition key update i s not allowed since the table is updated both as \'%-.192s\' and \'%-.192s\ '." }, | { "ER_MULTI_UPDATE_KEY_CONFLICT", 1706, "Primary key/partition key update i s not allowed since the table is updated both as \'%-.192s\' and \'%-.192s\ '." }, | |||
{ "ER_TABLE_NEEDS_REBUILD", 1707, "Table rebuild required. Please do \"ALTE R TABLE `%-.32s` FORCE\" or dump/reload to fix it!" }, | { "ER_TABLE_NEEDS_REBUILD", 1707, "Table rebuild required. Please do \"ALTE R TABLE `%-.32s` FORCE\" or dump/reload to fix it!" }, | |||
{ "WARN_OPTION_BELOW_LIMIT", 1708, "The value of \'%s\' should be no less t han the value of \'%s\'" }, | ||||
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 712 | skipping to change at line 712 | |||
#define ER_ACCESS_DENIED_NO_PASSWORD_ERROR 1698 | #define ER_ACCESS_DENIED_NO_PASSWORD_ERROR 1698 | |||
#define ER_SET_PASSWORD_AUTH_PLUGIN 1699 | #define ER_SET_PASSWORD_AUTH_PLUGIN 1699 | |||
#define ER_GRANT_PLUGIN_USER_EXISTS 1700 | #define ER_GRANT_PLUGIN_USER_EXISTS 1700 | |||
#define ER_TRUNCATE_ILLEGAL_FK 1701 | #define ER_TRUNCATE_ILLEGAL_FK 1701 | |||
#define ER_PLUGIN_IS_PERMANENT 1702 | #define ER_PLUGIN_IS_PERMANENT 1702 | |||
#define ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE_MIN 1703 | #define ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE_MIN 1703 | |||
#define ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE_MAX 1704 | #define ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE_MAX 1704 | |||
#define ER_STMT_CACHE_FULL 1705 | #define ER_STMT_CACHE_FULL 1705 | |||
#define ER_MULTI_UPDATE_KEY_CONFLICT 1706 | #define ER_MULTI_UPDATE_KEY_CONFLICT 1706 | |||
#define ER_TABLE_NEEDS_REBUILD 1707 | #define ER_TABLE_NEEDS_REBUILD 1707 | |||
#define ER_ERROR_LAST 1707 | #define WARN_OPTION_BELOW_LIMIT 1708 | |||
#define ER_ERROR_LAST 1708 | ||||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 0 lines changed or added | |||