| my_config.h | | my_config.h | |
| | | | |
| skipping to change at line 222 | | skipping to change at line 222 | |
| /* #undef HAVE_RDTSCLL */ | | /* #undef HAVE_RDTSCLL */ | |
| /* #undef HAVE_READ_REAL_TIME */ | | /* #undef HAVE_READ_REAL_TIME */ | |
| /* #undef HAVE_PTHREAD_ATTR_CREATE */ | | /* #undef HAVE_PTHREAD_ATTR_CREATE */ | |
| #define HAVE_PTHREAD_ATTR_GETSTACKSIZE 1 | | #define HAVE_PTHREAD_ATTR_GETSTACKSIZE 1 | |
| /* #undef HAVE_PTHREAD_ATTR_SETPRIO */ | | /* #undef HAVE_PTHREAD_ATTR_SETPRIO */ | |
| /* #undef HAVE_PTHREAD_ATTR_SETSCHEDPARAM */ | | /* #undef HAVE_PTHREAD_ATTR_SETSCHEDPARAM */ | |
| #define HAVE_PTHREAD_ATTR_SETSCOPE 1 | | #define HAVE_PTHREAD_ATTR_SETSCOPE 1 | |
| #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1 | | #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1 | |
| /* #undef HAVE_PTHREAD_CONDATTR_CREATE */ | | /* #undef HAVE_PTHREAD_CONDATTR_CREATE */ | |
| #define HAVE_PTHREAD_CONDATTR_SETCLOCK 1 | | #define HAVE_PTHREAD_CONDATTR_SETCLOCK 1 | |
|
| /* #undef HAVE_PTHREAD_INIT */ | | | |
| #define HAVE_PTHREAD_KEY_DELETE 1 | | #define HAVE_PTHREAD_KEY_DELETE 1 | |
| #define HAVE_PTHREAD_KEY_DELETE 1 | | #define HAVE_PTHREAD_KEY_DELETE 1 | |
| /* #undef HAVE_PTHREAD_KILL */ | | /* #undef HAVE_PTHREAD_KILL */ | |
| #define HAVE_PTHREAD_RWLOCK_RDLOCK 1 | | #define HAVE_PTHREAD_RWLOCK_RDLOCK 1 | |
| /* #undef HAVE_PTHREAD_SETPRIO_NP */ | | /* #undef HAVE_PTHREAD_SETPRIO_NP */ | |
| /* #undef HAVE_PTHREAD_SETSCHEDPARAM */ | | /* #undef HAVE_PTHREAD_SETSCHEDPARAM */ | |
| #define HAVE_PTHREAD_SIGMASK 1 | | #define HAVE_PTHREAD_SIGMASK 1 | |
| /* #undef HAVE_PTHREAD_THREADMASK */ | | /* #undef HAVE_PTHREAD_THREADMASK */ | |
| /* #undef HAVE_PTHREAD_YIELD_NP */ | | /* #undef HAVE_PTHREAD_YIELD_NP */ | |
| #define HAVE_PTHREAD_YIELD_ZERO_ARG 1 | | #define HAVE_PTHREAD_YIELD_ZERO_ARG 1 | |
| | | | |
| skipping to change at line 589 | | 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.15" | | #define DEFAULT_MYSQL_HOME "/home/ut/testing/mysql/5.5.16" | |
| #define SHAREDIR "/home/ut/testing/mysql/5.5.15/share" | | #define SHAREDIR "/home/ut/testing/mysql/5.5.16/share" | |
| #define DEFAULT_BASEDIR "/home/ut/testing/mysql/5.5.15" | | #define DEFAULT_BASEDIR "/home/ut/testing/mysql/5.5.16" | |
| #define MYSQL_DATADIR "/home/ut/testing/mysql/5.5.15/data" | | #define MYSQL_DATADIR "/home/ut/testing/mysql/5.5.16/data" | |
| #define DEFAULT_CHARSET_HOME "/home/ut/testing/mysql/5.5.15" | | #define DEFAULT_CHARSET_HOME "/home/ut/testing/mysql/5.5.16" | |
| #define PLUGINDIR "/home/ut/testing/mysql/5.5.15/lib/plugin" | | #define PLUGINDIR "/home/ut/testing/mysql/5.5.16/lib/plugin" | |
| #define DEFAULT_SYSCONFDIR "/home/ut/testing/mysql/5.5.15/etc" | | #define DEFAULT_SYSCONFDIR "/home/ut/testing/mysql/5.5.16/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.15" | | #define PACKAGE_STRING "MySQL Server 5.5.16" | |
| #define PACKAGE_TARNAME "mysql" | | #define PACKAGE_TARNAME "mysql" | |
|
| #define PACKAGE_VERSION "5.5.15" | | #define PACKAGE_VERSION "5.5.16" | |
| #define VERSION "5.5.15" | | #define VERSION "5.5.16" | |
| #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. 4 change blocks. |
| 11 lines changed or deleted | | 10 lines changed or added | |
|
| my_global.h | | my_global.h | |
| | | | |
| skipping to change at line 603 | | skipping to change at line 603 | |
| #define FN_REFLEN 512 /* Max length of full path-name */ | | #define FN_REFLEN 512 /* Max length of full path-name */ | |
| #define FN_EXTCHAR '.' | | #define FN_EXTCHAR '.' | |
| #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 */ | |
| | | | |
| #ifdef _WIN32 | | #ifdef _WIN32 | |
| #define FN_LIBCHAR '\\' | | #define FN_LIBCHAR '\\' | |
| #define FN_LIBCHAR2 '/' | | #define FN_LIBCHAR2 '/' | |
| #define FN_DIRSEP "/\\" /* Valid directory separators *
/ | | #define FN_DIRSEP "/\\" /* Valid directory separators *
/ | |
|
| | | #define FN_EXEEXT ".exe" | |
| | | #define FN_SOEXT ".dll" | |
| #define FN_ROOTDIR "\\" | | #define FN_ROOTDIR "\\" | |
| #define FN_DEVCHAR ':' | | #define FN_DEVCHAR ':' | |
| #define FN_NETWORK_DRIVES /* Uses \\ to indicate network drives */ | | #define FN_NETWORK_DRIVES /* Uses \\ to indicate network drives */ | |
| #define FN_NO_CASE_SENCE /* Files are not case-sensitive */ | | #define FN_NO_CASE_SENCE /* Files are not case-sensitive */ | |
| #else | | #else | |
| #define FN_LIBCHAR '/' | | #define FN_LIBCHAR '/' | |
| #define FN_LIBCHAR2 '/' | | #define FN_LIBCHAR2 '/' | |
| #define FN_DIRSEP "/" /* Valid directory separators */ | | #define FN_DIRSEP "/" /* Valid directory separators */ | |
|
| | | #define FN_EXEEXT "" | |
| | | #define FN_SOEXT ".so" | |
| #define FN_ROOTDIR "/" | | #define FN_ROOTDIR "/" | |
| #endif | | #endif | |
| | | | |
| /* | | /* | |
| MY_FILE_MIN is Windows speciality and is used to quickly detect | | MY_FILE_MIN is Windows speciality and is used to quickly detect | |
| the mismatch of CRT and mysys file IO usage on Windows at runtime. | | the mismatch of CRT and mysys file IO usage on Windows at runtime. | |
| CRT file descriptors can be in the range 0-2047, whereas descriptors retu
rned | | CRT file descriptors can be in the range 0-2047, whereas descriptors retu
rned | |
| by my_open() will start with 2048. If a file descriptor with value less t
hen | | by my_open() will start with 2048. If a file descriptor with value less t
hen | |
| MY_FILE_MIN is passed to mysys IO function, chances are it stemms from | | MY_FILE_MIN is passed to mysys IO function, chances are it stemms from | |
| open()/fileno() and not my_open()/my_fileno. | | open()/fileno() and not my_open()/my_fileno. | |
| | | | |
End of changes. 2 change blocks. |
| 0 lines changed or deleted | | 4 lines changed or added | |
|
| mysqld_ername.h | | mysqld_ername.h | |
| | | | |
| skipping to change at line 715 | | skipping to change at line 715 | |
| { "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\'" }, | | { "WARN_OPTION_BELOW_LIMIT", 1708, "The value of \'%s\' should be no less t
han the value of \'%s\'" }, | |
| { "ER_INDEX_COLUMN_TOO_LONG", 1709, "Index column size too large. The maxim
um column size is %lu bytes." }, | | { "ER_INDEX_COLUMN_TOO_LONG", 1709, "Index column size too large. The maxim
um column size is %lu bytes." }, | |
| { "ER_ERROR_IN_TRIGGER_BODY", 1710, "Trigger \'%-.64s\' has an error in its
body: \'%-.256s\'" }, | | { "ER_ERROR_IN_TRIGGER_BODY", 1710, "Trigger \'%-.64s\' has an error in its
body: \'%-.256s\'" }, | |
| { "ER_ERROR_IN_UNKNOWN_TRIGGER_BODY", 1711, "Unknown trigger has an error i
n its body: \'%-.256s\'" }, | | { "ER_ERROR_IN_UNKNOWN_TRIGGER_BODY", 1711, "Unknown trigger has an error i
n its body: \'%-.256s\'" }, | |
|
| | | { "ER_PLUGIN_NO_UNINSTALL", 1712, "Plugin \'%s\' is marked as not dynamical | |
| | | ly uninstallable. You have to stop the server to uninstall it." }, | |
| | | { "ER_PLUGIN_NO_INSTALL", 1713, "Plugin \'%s\' is marked as not dynamically | |
| | | installable. You have to stop the server to install it." }, | |
| | | | |
End of changes. 1 change blocks. |
| 0 lines changed or deleted | | 0 lines changed or added | |
|
| plugin.h | | plugin.h | |
| | | | |
| skipping to change at line 74 | | skipping to change at line 74 | |
| long gtrid_length; | | long gtrid_length; | |
| long bqual_length; | | long bqual_length; | |
| char data[MYSQL_XIDDATASIZE]; /* Not \0-terminated */ | | char data[MYSQL_XIDDATASIZE]; /* Not \0-terminated */ | |
| }; | | }; | |
| typedef struct st_mysql_xid MYSQL_XID; | | typedef struct st_mysql_xid MYSQL_XID; | |
| | | | |
| /************************************************************************* | | /************************************************************************* | |
| Plugin API. Common for all plugin types. | | Plugin API. Common for all plugin types. | |
| */ | | */ | |
| | | | |
|
| #define MYSQL_PLUGIN_INTERFACE_VERSION 0x0102 | | #define MYSQL_PLUGIN_INTERFACE_VERSION 0x0103 | |
| | | | |
| /* | | /* | |
| The allowable types of plugins | | The allowable types of plugins | |
| */ | | */ | |
| #define MYSQL_UDF_PLUGIN 0 /* User-defined function */ | | #define MYSQL_UDF_PLUGIN 0 /* User-defined function */ | |
| #define MYSQL_STORAGE_ENGINE_PLUGIN 1 /* Storage Engine */ | | #define MYSQL_STORAGE_ENGINE_PLUGIN 1 /* Storage Engine */ | |
| #define MYSQL_FTPARSER_PLUGIN 2 /* Full-text parser plugin */ | | #define MYSQL_FTPARSER_PLUGIN 2 /* Full-text parser plugin */ | |
| #define MYSQL_DAEMON_PLUGIN 3 /* The daemon/raw plugin type */ | | #define MYSQL_DAEMON_PLUGIN 3 /* The daemon/raw plugin type */ | |
| #define MYSQL_INFORMATION_SCHEMA_PLUGIN 4 /* The I_S plugin type */ | | #define MYSQL_INFORMATION_SCHEMA_PLUGIN 4 /* The I_S plugin type */ | |
| #define MYSQL_AUDIT_PLUGIN 5 /* The Audit plugin type */ | | #define MYSQL_AUDIT_PLUGIN 5 /* The Audit plugin type */ | |
| | | | |
| skipping to change at line 122 | | skipping to change at line 122 | |
| MYSQL_PLUGIN_EXPORT int _mysql_sizeof_struct_st_plugin_= sizeof(struct st_m
ysql_plugin); \ | | MYSQL_PLUGIN_EXPORT int _mysql_sizeof_struct_st_plugin_= sizeof(struct st_m
ysql_plugin); \ | |
| MYSQL_PLUGIN_EXPORT struct st_mysql_plugin _mysql_plugin_declarations_[]= { | | MYSQL_PLUGIN_EXPORT struct st_mysql_plugin _mysql_plugin_declarations_[]= { | |
| #endif | | #endif | |
| | | | |
| #define mysql_declare_plugin(NAME) \ | | #define mysql_declare_plugin(NAME) \ | |
| __MYSQL_DECLARE_PLUGIN(NAME, \ | | __MYSQL_DECLARE_PLUGIN(NAME, \ | |
| builtin_ ## NAME ## _plugin_interface_version, \ | | builtin_ ## NAME ## _plugin_interface_version, \ | |
| builtin_ ## NAME ## _sizeof_struct_st_plugin, \ | | builtin_ ## NAME ## _sizeof_struct_st_plugin, \ | |
| builtin_ ## NAME ## _plugin) | | builtin_ ## NAME ## _plugin) | |
| | | | |
|
| #define mysql_declare_plugin_end ,{0,0,0,0,0,0,0,0,0,0,0,0}} | | #define mysql_declare_plugin_end ,{0,0,0,0,0,0,0,0,0,0,0,0,0}} | |
| | | | |
| /* | | /* | |
| declarations for SHOW STATUS support in plugins | | declarations for SHOW STATUS support in plugins | |
| */ | | */ | |
| enum enum_mysql_show_type | | enum enum_mysql_show_type | |
| { | | { | |
| SHOW_UNDEF, SHOW_BOOL, SHOW_INT, SHOW_LONG, | | SHOW_UNDEF, SHOW_BOOL, SHOW_INT, SHOW_LONG, | |
| SHOW_LONGLONG, SHOW_CHAR, SHOW_CHAR_PTR, | | SHOW_LONGLONG, SHOW_CHAR, SHOW_CHAR_PTR, | |
| SHOW_ARRAY, SHOW_FUNC, SHOW_DOUBLE, | | SHOW_ARRAY, SHOW_FUNC, SHOW_DOUBLE, | |
| SHOW_always_last | | SHOW_always_last | |
| | | | |
| skipping to change at line 145 | | skipping to change at line 145 | |
| struct st_mysql_show_var { | | struct st_mysql_show_var { | |
| const char *name; | | const char *name; | |
| char *value; | | char *value; | |
| enum enum_mysql_show_type type; | | enum enum_mysql_show_type type; | |
| }; | | }; | |
| | | | |
| #define SHOW_VAR_FUNC_BUFF_SIZE 1024 | | #define SHOW_VAR_FUNC_BUFF_SIZE 1024 | |
| typedef int (*mysql_show_var_func)(MYSQL_THD, struct st_mysql_show_var*, ch
ar *); | | typedef int (*mysql_show_var_func)(MYSQL_THD, struct st_mysql_show_var*, ch
ar *); | |
| | | | |
| /* | | /* | |
|
| | | Constants for plugin flags. | |
| | | */ | |
| | | | |
| | | #define PLUGIN_OPT_NO_INSTALL 1UL /* Not dynamically loadable */ | |
| | | #define PLUGIN_OPT_NO_UNINSTALL 2UL /* Not dynamically unloadable */ | |
| | | | |
| | | /* | |
| declarations for server variables and command line options | | declarations for server variables and command line options | |
| */ | | */ | |
| | | | |
| #define PLUGIN_VAR_BOOL 0x0001 | | #define PLUGIN_VAR_BOOL 0x0001 | |
| #define PLUGIN_VAR_INT 0x0002 | | #define PLUGIN_VAR_INT 0x0002 | |
| #define PLUGIN_VAR_LONG 0x0003 | | #define PLUGIN_VAR_LONG 0x0003 | |
| #define PLUGIN_VAR_LONGLONG 0x0004 | | #define PLUGIN_VAR_LONGLONG 0x0004 | |
| #define PLUGIN_VAR_STR 0x0005 | | #define PLUGIN_VAR_STR 0x0005 | |
| #define PLUGIN_VAR_ENUM 0x0006 | | #define PLUGIN_VAR_ENUM 0x0006 | |
| #define PLUGIN_VAR_SET 0x0007 | | #define PLUGIN_VAR_SET 0x0007 | |
| | | | |
| skipping to change at line 410 | | skipping to change at line 417 | |
| const char *name; /* plugin name */ | | const char *name; /* plugin name */ | |
| const char *author; /* plugin author (for I_S.PLUGINS) */ | | const char *author; /* plugin author (for I_S.PLUGINS) */ | |
| const char *descr; /* general descriptive text (for I_S.PLUGINS) */ | | const char *descr; /* general descriptive text (for I_S.PLUGINS) */ | |
| int license; /* the plugin license (PLUGIN_LICENSE_XXX) */ | | int license; /* the plugin license (PLUGIN_LICENSE_XXX) */ | |
| int (*init)(void *); /* the function to invoke when plugin is loaded */ | | int (*init)(void *); /* the function to invoke when plugin is loaded */ | |
| int (*deinit)(void *);/* the function to invoke when plugin is unloaded *
/ | | int (*deinit)(void *);/* the function to invoke when plugin is unloaded *
/ | |
| unsigned int version; /* plugin version (for I_S.PLUGINS) */ | | unsigned int version; /* plugin version (for I_S.PLUGINS) */ | |
| struct st_mysql_show_var *status_vars; | | struct st_mysql_show_var *status_vars; | |
| struct st_mysql_sys_var **system_vars; | | struct st_mysql_sys_var **system_vars; | |
| void * __reserved1; /* reserved for dependency checking */ | | void * __reserved1; /* reserved for dependency checking */ | |
|
| | | unsigned long flags; /* flags for plugin */ | |
| }; | | }; | |
| | | | |
| /************************************************************************* | | /************************************************************************* | |
| API for Full-text parser plugin. (MYSQL_FTPARSER_PLUGIN) | | API for Full-text parser plugin. (MYSQL_FTPARSER_PLUGIN) | |
| */ | | */ | |
| #include "plugin_ftparser.h" | | #include "plugin_ftparser.h" | |
| | | | |
| /************************************************************************* | | /************************************************************************* | |
| API for Storage Engine plugin. (MYSQL_DAEMON_PLUGIN) | | API for Storage Engine plugin. (MYSQL_DAEMON_PLUGIN) | |
| */ | | */ | |
| | | | |
End of changes. 4 change blocks. |
| 2 lines changed or deleted | | 10 lines changed or added | |
|