my_config.h | my_config.h | |||
---|---|---|---|---|
skipping to change at line 1141 | skipping to change at line 1141 | |||
/* Name of package */ | /* Name of package */ | |||
#define PACKAGE "mysql" | #define PACKAGE "mysql" | |||
/* Define to the address where bug reports for this package should be sent. */ | /* Define to the address where bug reports for this package should be sent. */ | |||
#define PACKAGE_BUGREPORT "" | #define PACKAGE_BUGREPORT "" | |||
/* Define to the full name of this package. */ | /* Define to the full name of this package. */ | |||
#define PACKAGE_NAME "MySQL Server" | #define PACKAGE_NAME "MySQL Server" | |||
/* Define to the full name and version of this package. */ | /* Define to the full name and version of this package. */ | |||
#define PACKAGE_STRING "MySQL Server 5.1.46" | #define PACKAGE_STRING "MySQL Server 5.1.47" | |||
/* Define to the one symbol short name of this package. */ | /* Define to the one symbol short name of this package. */ | |||
#define PACKAGE_TARNAME "mysql" | #define PACKAGE_TARNAME "mysql" | |||
/* Define to the version of this package. */ | /* Define to the version of this package. */ | |||
#define PACKAGE_VERSION "5.1.46" | #define PACKAGE_VERSION "5.1.47" | |||
/* mysql client protocol version */ | /* mysql client protocol version */ | |||
#define PROTOCOL_VERSION 10 | #define PROTOCOL_VERSION 10 | |||
/* qsort returns void */ | /* qsort returns void */ | |||
#define QSORT_TYPE_IS_VOID 1 | #define QSORT_TYPE_IS_VOID 1 | |||
/* The return type of qsort (int or void). */ | /* The return type of qsort (int or void). */ | |||
#define RETQSORTTYPE void | #define RETQSORTTYPE void | |||
skipping to change at line 1272 | skipping to change at line 1272 | |||
/* #undef USE_MYSYS_NEW */ | /* #undef USE_MYSYS_NEW */ | |||
/* used new readline interface (are rl_completion_func_t and | /* used new readline interface (are rl_completion_func_t and | |||
rl_compentry_func_t defined) */ | rl_compentry_func_t defined) */ | |||
/* #undef USE_NEW_READLINE_INTERFACE */ | /* #undef USE_NEW_READLINE_INTERFACE */ | |||
/* the pstack backtrace library */ | /* the pstack backtrace library */ | |||
/* #undef USE_PSTACK */ | /* #undef USE_PSTACK */ | |||
/* Version number of package */ | /* Version number of package */ | |||
#define VERSION "5.1.46" | #define VERSION "5.1.47" | |||
/* sighandler type is void (*signal ()) (); */ | /* sighandler type is void (*signal ()) (); */ | |||
#define VOID_SIGHANDLER 1 | #define VOID_SIGHANDLER 1 | |||
/* Include Archive Storage Engine into mysqld */ | /* Include Archive Storage Engine into mysqld */ | |||
/* #undef WITH_ARCHIVE_STORAGE_ENGINE */ | /* #undef WITH_ARCHIVE_STORAGE_ENGINE */ | |||
/* Include Basic Write-only Read-never tables into mysqld */ | /* Include Basic Write-only Read-never tables into mysqld */ | |||
/* #undef WITH_BLACKHOLE_STORAGE_ENGINE */ | /* #undef WITH_BLACKHOLE_STORAGE_ENGINE */ | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||
my_global.h | my_global.h | |||
---|---|---|---|---|
skipping to change at line 748 | skipping to change at line 748 | |||
#define FN_HOMELIB '~' /* ~/ is used as abbrev for home dir */ | #define FN_HOMELIB '~' /* ~/ is used as abbrev for home dir */ | |||
#define FN_CURLIB '.' /* ./ is used as abbrev for current dir */ | #define FN_CURLIB '.' /* ./ is used as abbrev for current dir */ | |||
#define FN_PARENTDIR ".." /* Parent directory; Must be a string */ | #define FN_PARENTDIR ".." /* Parent directory; Must be a string */ | |||
#ifndef FN_LIBCHAR | #ifndef FN_LIBCHAR | |||
#define FN_LIBCHAR '/' | #define FN_LIBCHAR '/' | |||
#define FN_ROOTDIR "/" | #define FN_ROOTDIR "/" | |||
#endif | #endif | |||
#define MY_NFILE 64 /* This is only used to save filenames */ | #define MY_NFILE 64 /* This is only used to save filenames */ | |||
#ifndef OS_FILE_LIMIT | #ifndef OS_FILE_LIMIT | |||
#define OS_FILE_LIMIT 65535 | #define OS_FILE_LIMIT UINT_MAX | |||
#endif | #endif | |||
/* #define EXT_IN_LIBNAME */ | /* #define EXT_IN_LIBNAME */ | |||
/* #define FN_NO_CASE_SENCE */ | /* #define FN_NO_CASE_SENCE */ | |||
/* #define FN_UPPER_CASE TRUE */ | /* #define FN_UPPER_CASE TRUE */ | |||
/* | /* | |||
Io buffer size; Must be a power of 2 and a multiple of 512. May be | Io buffer size; Must be a power of 2 and a multiple of 512. May be | |||
smaller what the disk page size. This influences the speed of the | smaller what the disk page size. This influences the speed of the | |||
isam btree library. eg to big to slow. | isam btree library. eg to big to slow. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
mysql_com.h | mysql_com.h | |||
---|---|---|---|---|
skipping to change at line 276 | skipping to change at line 276 | |||
unsigned char *query_cache_query; | unsigned char *query_cache_query; | |||
unsigned int last_errno; | unsigned int last_errno; | |||
unsigned char error; | unsigned char error; | |||
my_bool unused2; /* Please remove with the next incompatible ABI change. */ | my_bool unused2; /* Please remove with the next incompatible ABI change. */ | |||
my_bool return_errno; | my_bool return_errno; | |||
/** Client library error message buffer. Actually belongs to struct MYSQL . */ | /** Client library error message buffer. Actually belongs to struct MYSQL . */ | |||
char last_error[MYSQL_ERRMSG_SIZE]; | char last_error[MYSQL_ERRMSG_SIZE]; | |||
/** Client library sqlstate buffer. Set along with the error message. */ | /** Client library sqlstate buffer. Set along with the error message. */ | |||
char sqlstate[SQLSTATE_LENGTH+1]; | char sqlstate[SQLSTATE_LENGTH+1]; | |||
void *extension; | void *extension; | |||
#if defined(MYSQL_SERVER) && !defined(EMBEDDED_LIBRARY) | ||||
/* | ||||
Controls whether a big packet should be skipped. | ||||
Initially set to FALSE by default. Unauthenticated sessions must have | ||||
this set to FALSE so that the server can't be tricked to read packets | ||||
indefinitely. | ||||
*/ | ||||
my_bool skip_big_packet; | ||||
#endif | ||||
} NET; | } NET; | |||
#define packet_error (~(unsigned long) 0) | #define packet_error (~(unsigned long) 0) | |||
enum enum_field_types { MYSQL_TYPE_DECIMAL, MYSQL_TYPE_TINY, | enum enum_field_types { MYSQL_TYPE_DECIMAL, MYSQL_TYPE_TINY, | |||
MYSQL_TYPE_SHORT, MYSQL_TYPE_LONG, | MYSQL_TYPE_SHORT, MYSQL_TYPE_LONG, | |||
MYSQL_TYPE_FLOAT, MYSQL_TYPE_DOUBLE, | MYSQL_TYPE_FLOAT, MYSQL_TYPE_DOUBLE, | |||
MYSQL_TYPE_NULL, MYSQL_TYPE_TIMESTAMP, | MYSQL_TYPE_NULL, MYSQL_TYPE_TIMESTAMP, | |||
MYSQL_TYPE_LONGLONG,MYSQL_TYPE_INT24, | MYSQL_TYPE_LONGLONG,MYSQL_TYPE_INT24, | |||
MYSQL_TYPE_DATE, MYSQL_TYPE_TIME, | MYSQL_TYPE_DATE, MYSQL_TYPE_TIME, | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 10 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.1.46" | #define MYSQL_SERVER_VERSION "5.1.47" | |||
#define MYSQL_BASE_VERSION "mysqld-5.1" | #define MYSQL_BASE_VERSION "mysqld-5.1" | |||
#define MYSQL_SERVER_SUFFIX_DEF "" | #define MYSQL_SERVER_SUFFIX_DEF "" | |||
#define FRM_VER 6 | #define FRM_VER 6 | |||
#define MYSQL_VERSION_ID 50146 | #define MYSQL_VERSION_ID 50147 | |||
#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 | |||
plugin.h | plugin.h | |||
---|---|---|---|---|
skipping to change at line 791 | skipping to change at line 791 | |||
@param thd user thread connection handle | @param thd user thread connection handle | |||
@param key databasename\\0tablename\\0 | @param key databasename\\0tablename\\0 | |||
@param key_length length of key in bytes, including the NUL bytes | @param key_length length of key in bytes, including the NUL bytes | |||
@param using_trx flag: TRUE if using transactions, FALSE otherwise | @param using_trx flag: TRUE if using transactions, FALSE otherwise | |||
*/ | */ | |||
void mysql_query_cache_invalidate4(MYSQL_THD thd, | void mysql_query_cache_invalidate4(MYSQL_THD thd, | |||
const char *key, unsigned int key_length , | const char *key, unsigned int key_length , | |||
int using_trx); | int using_trx); | |||
#ifdef __cplusplus | ||||
} | ||||
#endif | ||||
#ifdef __cplusplus | ||||
/** | /** | |||
Provide a handler data getter to simplify coding | Provide a handler data getter to simplify coding | |||
*/ | */ | |||
inline | void *thd_get_ha_data(const MYSQL_THD thd, const struct handlerton *hton); | |||
void * | ||||
thd_get_ha_data(const MYSQL_THD thd, const struct handlerton *hton) | ||||
{ | ||||
return *thd_ha_data(thd, hton); | ||||
} | ||||
/** | /** | |||
Provide a handler data setter to simplify coding | Provide a handler data setter to simplify coding | |||
@details | ||||
Set ha_data pointer (storage engine per-connection information). | ||||
To avoid unclean deactivation (uninstall) of storage engine plugin | ||||
in the middle of transaction, additional storage engine plugin | ||||
lock is acquired. | ||||
If ha_data is not null and storage engine plugin was not locked | ||||
by thd_set_ha_data() in this connection before, storage engine | ||||
plugin gets locked. | ||||
If ha_data is null and storage engine plugin was locked by | ||||
thd_set_ha_data() in this connection before, storage engine | ||||
plugin lock gets released. | ||||
If handlerton::close_connection() didn't reset ha_data, server does | ||||
it immediately after calling handlerton::close_connection(). | ||||
*/ | */ | |||
inline | void thd_set_ha_data(MYSQL_THD thd, const struct handlerton *hton, | |||
void | const void *ha_data); | |||
thd_set_ha_data(const MYSQL_THD thd, const struct handlerton *hton, | #ifdef __cplusplus | |||
const void *ha_data) | ||||
{ | ||||
*thd_ha_data(thd, hton)= (void*) ha_data; | ||||
} | } | |||
#endif | #endif | |||
#endif | #endif | |||
End of changes. 4 change blocks. | ||||
17 lines changed or deleted | 22 lines changed or added | |||