m_ctype.h | m_ctype.h | |||
---|---|---|---|---|
skipping to change at line 66 | skipping to change at line 66 | |||
typedef struct unicase_info_st | typedef struct unicase_info_st | |||
{ | { | |||
uint32 toupper; | uint32 toupper; | |||
uint32 tolower; | uint32 tolower; | |||
uint32 sort; | uint32 sort; | |||
} MY_UNICASE_INFO; | } MY_UNICASE_INFO; | |||
extern MY_UNICASE_INFO *my_unicase_default[256]; | extern MY_UNICASE_INFO *my_unicase_default[256]; | |||
extern MY_UNICASE_INFO *my_unicase_turkish[256]; | extern MY_UNICASE_INFO *my_unicase_turkish[256]; | |||
extern MY_UNICASE_INFO *my_unicase_mysql500[256]; | ||||
typedef struct uni_ctype_st | typedef struct uni_ctype_st | |||
{ | { | |||
uchar pctype; | uchar pctype; | |||
uchar *ctype; | uchar *ctype; | |||
} MY_UNI_CTYPE; | } MY_UNI_CTYPE; | |||
extern MY_UNI_CTYPE my_uni_ctype[256]; | extern MY_UNI_CTYPE my_uni_ctype[256]; | |||
/* wm_wc and wc_mb return codes */ | /* wm_wc and wc_mb return codes */ | |||
skipping to change at line 333 | skipping to change at line 334 | |||
extern CHARSET_INFO my_charset_latin1_german2_ci; | extern CHARSET_INFO my_charset_latin1_german2_ci; | |||
extern CHARSET_INFO my_charset_latin1_bin; | extern CHARSET_INFO my_charset_latin1_bin; | |||
extern CHARSET_INFO my_charset_latin2_czech_ci; | extern CHARSET_INFO my_charset_latin2_czech_ci; | |||
extern CHARSET_INFO my_charset_sjis_japanese_ci; | extern CHARSET_INFO my_charset_sjis_japanese_ci; | |||
extern CHARSET_INFO my_charset_sjis_bin; | extern CHARSET_INFO my_charset_sjis_bin; | |||
extern CHARSET_INFO my_charset_tis620_thai_ci; | extern CHARSET_INFO my_charset_tis620_thai_ci; | |||
extern CHARSET_INFO my_charset_tis620_bin; | extern CHARSET_INFO my_charset_tis620_bin; | |||
extern CHARSET_INFO my_charset_ucs2_general_ci; | extern CHARSET_INFO my_charset_ucs2_general_ci; | |||
extern CHARSET_INFO my_charset_ucs2_bin; | extern CHARSET_INFO my_charset_ucs2_bin; | |||
extern CHARSET_INFO my_charset_ucs2_unicode_ci; | extern CHARSET_INFO my_charset_ucs2_unicode_ci; | |||
extern CHARSET_INFO my_charset_ucs2_general_mysql500_ci; | ||||
extern CHARSET_INFO my_charset_ujis_japanese_ci; | extern CHARSET_INFO my_charset_ujis_japanese_ci; | |||
extern CHARSET_INFO my_charset_ujis_bin; | extern CHARSET_INFO my_charset_ujis_bin; | |||
extern CHARSET_INFO my_charset_utf16_bin; | extern CHARSET_INFO my_charset_utf16_bin; | |||
extern CHARSET_INFO my_charset_utf16_general_ci; | extern CHARSET_INFO my_charset_utf16_general_ci; | |||
extern CHARSET_INFO my_charset_utf16_unicode_ci; | extern CHARSET_INFO my_charset_utf16_unicode_ci; | |||
extern CHARSET_INFO my_charset_utf32_bin; | extern CHARSET_INFO my_charset_utf32_bin; | |||
extern CHARSET_INFO my_charset_utf32_general_ci; | extern CHARSET_INFO my_charset_utf32_general_ci; | |||
extern CHARSET_INFO my_charset_utf32_unicode_ci; | extern CHARSET_INFO my_charset_utf32_unicode_ci; | |||
extern MYSQL_PLUGIN_IMPORT CHARSET_INFO my_charset_utf8_general_ci; | extern MYSQL_PLUGIN_IMPORT CHARSET_INFO my_charset_utf8_general_ci; | |||
extern CHARSET_INFO my_charset_utf8_unicode_ci; | extern CHARSET_INFO my_charset_utf8_unicode_ci; | |||
extern CHARSET_INFO my_charset_utf8_bin; | extern CHARSET_INFO my_charset_utf8_bin; | |||
extern CHARSET_INFO my_charset_utf8_general_mysql500_ci; | ||||
extern CHARSET_INFO my_charset_utf8mb4_bin; | extern CHARSET_INFO my_charset_utf8mb4_bin; | |||
extern CHARSET_INFO my_charset_utf8mb4_general_ci; | extern CHARSET_INFO my_charset_utf8mb4_general_ci; | |||
extern CHARSET_INFO my_charset_utf8mb4_unicode_ci; | extern CHARSET_INFO my_charset_utf8mb4_unicode_ci; | |||
#define MY_UTF8MB3 "utf8" | #define MY_UTF8MB3 "utf8" | |||
#define MY_UTF8MB4 "utf8mb4" | #define MY_UTF8MB4 "utf8mb4" | |||
/* Helper functions to handle contraction */ | /* Helper functions to handle contraction */ | |||
static inline my_bool | static inline my_bool | |||
my_cs_have_contractions(CHARSET_INFO *cs) | my_cs_have_contractions(CHARSET_INFO *cs) | |||
{ | { | |||
End of changes. 3 change blocks. | ||||
0 lines changed or deleted | 3 lines changed or added | |||
my_config.h | my_config.h | |||
---|---|---|---|---|
skipping to change at line 588 | skipping to change at line 588 | |||
#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.20" | #define DEFAULT_MYSQL_HOME "/home/ut/testing/mysql/5.5.21" | |||
#define SHAREDIR "/home/ut/testing/mysql/5.5.20/share" | #define SHAREDIR "/home/ut/testing/mysql/5.5.21/share" | |||
#define DEFAULT_BASEDIR "/home/ut/testing/mysql/5.5.20" | #define DEFAULT_BASEDIR "/home/ut/testing/mysql/5.5.21" | |||
#define MYSQL_DATADIR "/home/ut/testing/mysql/5.5.20/data" | #define MYSQL_DATADIR "/home/ut/testing/mysql/5.5.21/data" | |||
#define DEFAULT_CHARSET_HOME "/home/ut/testing/mysql/5.5.20" | #define DEFAULT_CHARSET_HOME "/home/ut/testing/mysql/5.5.21" | |||
#define PLUGINDIR "/home/ut/testing/mysql/5.5.20/lib/plugin" | #define PLUGINDIR "/home/ut/testing/mysql/5.5.21/lib/plugin" | |||
#define DEFAULT_SYSCONFDIR "/home/ut/testing/mysql/5.5.20/etc" | #define DEFAULT_SYSCONFDIR "/home/ut/testing/mysql/5.5.21/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.20" | #define PACKAGE_STRING "MySQL Server 5.5.21" | |||
#define PACKAGE_TARNAME "mysql" | #define PACKAGE_TARNAME "mysql" | |||
#define PACKAGE_VERSION "5.5.20" | #define PACKAGE_VERSION "5.5.21" | |||
#define VERSION "5.5.20" | #define VERSION "5.5.21" | |||
#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 | |||
---|---|---|---|---|
skipping to change at line 1361 | skipping to change at line 1361 | |||
#endif | #endif | |||
#ifdef HAVE_DLOPEN | #ifdef HAVE_DLOPEN | |||
#if defined(HAVE_DLFCN_H) | #if defined(HAVE_DLFCN_H) | |||
#include <dlfcn.h> | #include <dlfcn.h> | |||
#endif | #endif | |||
#endif | #endif | |||
#ifndef HAVE_DLERROR | #ifndef HAVE_DLERROR | |||
#ifdef _WIN32 | #ifdef _WIN32 | |||
#define DLERROR_GENERATE(errmsg, error_number) \ | ||||
char win_errormsg[2048]; \ | ||||
if(FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM, \ | ||||
0, error_number, 0, win_errormsg, 2048, NULL)) \ | ||||
{ \ | ||||
char *ptr; \ | ||||
for (ptr= &win_errormsg[0] + strlen(win_errormsg) - 1; \ | ||||
ptr >= &win_errormsg[0] && strchr("\r\n\t\0x20", *ptr); \ | ||||
ptr--) \ | ||||
*ptr= 0; \ | ||||
errmsg= win_errormsg; \ | ||||
} \ | ||||
else \ | ||||
errmsg= "" | ||||
#define dlerror() "" | #define dlerror() "" | |||
#else | #define dlopen_errno GetLastError() | |||
#else /* _WIN32 */ | ||||
#define dlerror() "No support for dynamic loading (static build?)" | #define dlerror() "No support for dynamic loading (static build?)" | |||
#endif | #define DLERROR_GENERATE(errmsg, error_number) errmsg= dlerror() | |||
#endif | #define dlopen_errno errno | |||
#endif /* _WIN32 */ | ||||
#else /* HAVE_DLERROR */ | ||||
#define DLERROR_GENERATE(errmsg, error_number) errmsg= dlerror() | ||||
#define dlopen_errno errno | ||||
#endif /* HAVE_DLERROR */ | ||||
/* | /* | |||
* Include standard definitions of operator new and delete. | * Include standard definitions of operator new and delete. | |||
*/ | */ | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
#include <new> | #include <new> | |||
#endif | #endif | |||
/* Length of decimal number represented by INT32. */ | /* Length of decimal number represented by INT32. */ | |||
#define MY_INT32_NUM_DECIMAL_DIGITS 11 | #define MY_INT32_NUM_DECIMAL_DIGITS 11 | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 23 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.20" | #define MYSQL_SERVER_VERSION "5.5.21" | |||
#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 50520 | #define MYSQL_VERSION_ID 50521 | |||
#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 239 | skipping to change at line 239 | |||
{ "ER_USER_LIMIT_REACHED", 1226, "User \'%-.64s\' has exceeded the \'%s\' r esource (current value: %ld)" }, | { "ER_USER_LIMIT_REACHED", 1226, "User \'%-.64s\' has exceeded the \'%s\' r esource (current value: %ld)" }, | |||
{ "ER_SPECIFIC_ACCESS_DENIED_ERROR", 1227, "Access denied; you need (at lea st one of) the %-.128s privilege(s) for this operation" }, | { "ER_SPECIFIC_ACCESS_DENIED_ERROR", 1227, "Access denied; you need (at lea st one of) the %-.128s privilege(s) for this operation" }, | |||
{ "ER_LOCAL_VARIABLE", 1228, "Variable \'%-.64s\' is a SESSION variable and can\'t be used with SET GLOBAL" }, | { "ER_LOCAL_VARIABLE", 1228, "Variable \'%-.64s\' is a SESSION variable and can\'t be used with SET GLOBAL" }, | |||
{ "ER_GLOBAL_VARIABLE", 1229, "Variable \'%-.64s\' is a GLOBAL variable and should be set with SET GLOBAL" }, | { "ER_GLOBAL_VARIABLE", 1229, "Variable \'%-.64s\' is a GLOBAL variable and should be set with SET GLOBAL" }, | |||
{ "ER_NO_DEFAULT", 1230, "Variable \'%-.64s\' doesn\'t have a default value " }, | { "ER_NO_DEFAULT", 1230, "Variable \'%-.64s\' doesn\'t have a default value " }, | |||
{ "ER_WRONG_VALUE_FOR_VAR", 1231, "Variable \'%-.64s\' can\'t be set to the value of \'%-.200s\'" }, | { "ER_WRONG_VALUE_FOR_VAR", 1231, "Variable \'%-.64s\' can\'t be set to the value of \'%-.200s\'" }, | |||
{ "ER_WRONG_TYPE_FOR_VAR", 1232, "Incorrect argument type to variable \'%-. 64s\'" }, | { "ER_WRONG_TYPE_FOR_VAR", 1232, "Incorrect argument type to variable \'%-. 64s\'" }, | |||
{ "ER_VAR_CANT_BE_READ", 1233, "Variable \'%-.64s\' can only be set, not re ad" }, | { "ER_VAR_CANT_BE_READ", 1233, "Variable \'%-.64s\' can only be set, not re ad" }, | |||
{ "ER_CANT_USE_OPTION_HERE", 1234, "Incorrect usage/placement of \'%s\'" }, | { "ER_CANT_USE_OPTION_HERE", 1234, "Incorrect usage/placement of \'%s\'" }, | |||
{ "ER_NOT_SUPPORTED_YET", 1235, "This version of MySQL doesn\'t yet support \'%s\'" }, | { "ER_NOT_SUPPORTED_YET", 1235, "This version of MySQL doesn\'t yet support \'%s\'" }, | |||
{ "ER_MASTER_FATAL_ERROR_READING_BINLOG", 1236, "Got fatal error %d from ma ster when reading data from binary log: \'%-.256s\'" }, | { "ER_MASTER_FATAL_ERROR_READING_BINLOG", 1236, "Got fatal error %d from ma ster when reading data from binary log: \'%-.512s\'" }, | |||
{ "ER_SLAVE_IGNORED_TABLE", 1237, "Slave SQL thread ignored the query becau se of replicate-*-table rules" }, | { "ER_SLAVE_IGNORED_TABLE", 1237, "Slave SQL thread ignored the query becau se of replicate-*-table rules" }, | |||
{ "ER_INCORRECT_GLOBAL_LOCAL_VAR", 1238, "Variable \'%-.192s\' is a %s vari able" }, | { "ER_INCORRECT_GLOBAL_LOCAL_VAR", 1238, "Variable \'%-.192s\' is a %s vari able" }, | |||
{ "ER_WRONG_FK_DEF", 1239, "Incorrect foreign key definition for \'%-.192s\ ': %s" }, | { "ER_WRONG_FK_DEF", 1239, "Incorrect foreign key definition for \'%-.192s\ ': %s" }, | |||
{ "ER_KEY_REF_DO_NOT_MATCH_TABLE_REF", 1240, "Key reference and table refer ence don\'t match" }, | { "ER_KEY_REF_DO_NOT_MATCH_TABLE_REF", 1240, "Key reference and table refer ence don\'t match" }, | |||
{ "ER_OPERAND_COLUMNS", 1241, "Operand should contain %d column(s)" }, | { "ER_OPERAND_COLUMNS", 1241, "Operand should contain %d column(s)" }, | |||
{ "ER_SUBQUERY_NO_1_ROW", 1242, "Subquery returns more than 1 row" }, | { "ER_SUBQUERY_NO_1_ROW", 1242, "Subquery returns more than 1 row" }, | |||
{ "ER_UNKNOWN_STMT_HANDLER", 1243, "Unknown prepared statement handler (%.* s) given to %s" }, | { "ER_UNKNOWN_STMT_HANDLER", 1243, "Unknown prepared statement handler (%.* s) given to %s" }, | |||
{ "ER_CORRUPT_HELP_DB", 1244, "Help database is corrupt or does not exist" }, | { "ER_CORRUPT_HELP_DB", 1244, "Help database is corrupt or does not exist" }, | |||
{ "ER_CYCLIC_REFERENCE", 1245, "Cyclic reference on subqueries" }, | { "ER_CYCLIC_REFERENCE", 1245, "Cyclic reference on subqueries" }, | |||
{ "ER_AUTO_CONVERT", 1246, "Converting column \'%s\' from %s to %s" }, | { "ER_AUTO_CONVERT", 1246, "Converting column \'%s\' from %s to %s" }, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||