decimal.h | decimal.h | |||
---|---|---|---|---|
skipping to change at line 24 | skipping to change at line 24 | |||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 US A */ | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 US A */ | |||
#ifndef _decimal_h | #ifndef _decimal_h | |||
#define _decimal_h | #define _decimal_h | |||
typedef enum | typedef enum | |||
{TRUNCATE=0, HALF_EVEN, HALF_UP, CEILING, FLOOR} | {TRUNCATE=0, HALF_EVEN, HALF_UP, CEILING, FLOOR} | |||
decimal_round_mode; | decimal_round_mode; | |||
typedef int32 decimal_digit_t; | typedef int32 decimal_digit_t; | |||
/** | ||||
intg is the number of *decimal* digits (NOT number of decimal_digit_t's | ||||
!) | ||||
before the point | ||||
frac is the number of decimal digits after the point | ||||
len is the length of buf (length of allocated space) in decimal_digit_ | ||||
t's, | ||||
not in bytes | ||||
sign false means positive, true means negative | ||||
buf is an array of decimal_digit_t's | ||||
*/ | ||||
typedef struct st_decimal_t { | typedef struct st_decimal_t { | |||
int intg, frac, len; | int intg, frac, len; | |||
my_bool sign; | my_bool sign; | |||
decimal_digit_t *buf; | decimal_digit_t *buf; | |||
} decimal_t; | } decimal_t; | |||
int internal_str2dec(const char *from, decimal_t *to, char **end, | int internal_str2dec(const char *from, decimal_t *to, char **end, | |||
my_bool fixed); | my_bool fixed); | |||
int decimal2string(const decimal_t *from, char *to, int *to_len, | int decimal2string(const decimal_t *from, char *to, int *to_len, | |||
int fixed_precision, int fixed_decimals, | int fixed_precision, int fixed_decimals, | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 11 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.16" | #define DEFAULT_MYSQL_HOME "/home/ut/testing/mysql/5.5.17" | |||
#define SHAREDIR "/home/ut/testing/mysql/5.5.16/share" | #define SHAREDIR "/home/ut/testing/mysql/5.5.17/share" | |||
#define DEFAULT_BASEDIR "/home/ut/testing/mysql/5.5.16" | #define DEFAULT_BASEDIR "/home/ut/testing/mysql/5.5.17" | |||
#define MYSQL_DATADIR "/home/ut/testing/mysql/5.5.16/data" | #define MYSQL_DATADIR "/home/ut/testing/mysql/5.5.17/data" | |||
#define DEFAULT_CHARSET_HOME "/home/ut/testing/mysql/5.5.16" | #define DEFAULT_CHARSET_HOME "/home/ut/testing/mysql/5.5.17" | |||
#define PLUGINDIR "/home/ut/testing/mysql/5.5.16/lib/plugin" | #define PLUGINDIR "/home/ut/testing/mysql/5.5.17/lib/plugin" | |||
#define DEFAULT_SYSCONFDIR "/home/ut/testing/mysql/5.5.16/etc" | #define DEFAULT_SYSCONFDIR "/home/ut/testing/mysql/5.5.17/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.16" | #define PACKAGE_STRING "MySQL Server 5.5.17" | |||
#define PACKAGE_TARNAME "mysql" | #define PACKAGE_TARNAME "mysql" | |||
#define PACKAGE_VERSION "5.5.16" | #define PACKAGE_VERSION "5.5.17" | |||
#define VERSION "5.5.16" | #define VERSION "5.5.17" | |||
#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 | |||
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.16" | #define MYSQL_SERVER_VERSION "5.5.17" | |||
#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 50516 | #define MYSQL_VERSION_ID 50517 | |||
#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 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 | { "ER_INDEX_CORRUPT", 1712, "Index %s is corrupted" }, | |||
ly uninstallable. You have to stop the server to uninstall it." }, | { "ER_UNDO_RECORD_TOO_BIG", 1713, "Undo log record is too big." }, | |||
{ "ER_PLUGIN_NO_INSTALL", 1713, "Plugin \'%s\' is marked as not dynamically | { "ER_PLUGIN_NO_UNINSTALL", 1714, "Plugin \'%s\' is marked as not dynamical | |||
installable. You have to stop the server to install it." }, | ly uninstallable. You have to stop the server to uninstall it." }, | |||
{ "ER_PLUGIN_NO_INSTALL", 1715, "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 | |||
mysqld_error.h | mysqld_error.h | |||
---|---|---|---|---|
skipping to change at line 716 | skipping to change at line 716 | |||
#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 WARN_OPTION_BELOW_LIMIT 1708 | #define WARN_OPTION_BELOW_LIMIT 1708 | |||
#define ER_INDEX_COLUMN_TOO_LONG 1709 | #define ER_INDEX_COLUMN_TOO_LONG 1709 | |||
#define ER_ERROR_IN_TRIGGER_BODY 1710 | #define ER_ERROR_IN_TRIGGER_BODY 1710 | |||
#define ER_ERROR_IN_UNKNOWN_TRIGGER_BODY 1711 | #define ER_ERROR_IN_UNKNOWN_TRIGGER_BODY 1711 | |||
#define ER_PLUGIN_NO_UNINSTALL 1712 | #define ER_INDEX_CORRUPT 1712 | |||
#define ER_PLUGIN_NO_INSTALL 1713 | #define ER_UNDO_RECORD_TOO_BIG 1713 | |||
#define ER_ERROR_LAST 1713 | #define ER_PLUGIN_NO_UNINSTALL 1714 | |||
#define ER_PLUGIN_NO_INSTALL 1715 | ||||
#define ER_ERROR_LAST 1715 | ||||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 0 lines changed or added | |||