Loading .bzrignore +1 −0 Original line number Diff line number Diff line Loading @@ -391,3 +391,4 @@ support-files/mysql.spec tags tmp/* vio/viotest-ssl =6 =6 0 → 100644 +0 −0 Empty file added. include/mysqld_error.h +2 −1 Original line number Diff line number Diff line Loading @@ -218,4 +218,5 @@ #define ER_WRONG_USAGE 1215 #define ER_WRONG_NUMBER_OF_COLUMNS_IN_SELECT 1216 #define ER_CANT_UPDATE_WITH_READLOCK 1217 #define ER_ERROR_MESSAGES 218 #define ER_MIXING_NOT_ALLOWED 1218 #define ER_ERROR_MESSAGES 219 sql/mysql_priv.h +1 −1 Original line number Diff line number Diff line Loading @@ -562,7 +562,7 @@ extern ulong keybuff_size,sortbuff_size,max_item_sort_length,table_cache_size, extern ulong specialflag, current_pid; extern bool low_priority_updates, using_update_log; extern bool opt_sql_bin_update, opt_safe_show_db, opt_warnings, opt_safe_user_create; opt_safe_user_create, opt_no_mix_types; extern char language[LIBLEN],reg_ext[FN_EXTLEN],blob_newline; extern const char **errmesg; /* Error messages */ extern const char *default_tx_isolation_name; Loading sql/mysqld.cc +7 −2 Original line number Diff line number Diff line Loading @@ -224,7 +224,7 @@ static bool opt_log,opt_update_log,opt_bin_log,opt_slow_log,opt_noacl, opt_large_files=sizeof(my_off_t) > 4; bool opt_sql_bin_update = 0, opt_log_slave_updates = 0, opt_safe_show_db=0, opt_show_slave_auth_info = 0, opt_old_rpl_compat = 0, opt_safe_user_create = 0; opt_safe_user_create = 0, opt_no_mix_types = 0; FILE *bootstrap_file=0; int segfaulted = 0; // ensure we do not enter SIGSEGV handler twice extern MASTER_INFO glob_mi; Loading Loading @@ -2521,7 +2521,7 @@ enum options { OPT_MAX_BINLOG_DUMP_EVENTS, OPT_SPORADIC_BINLOG_DUMP_FAIL, OPT_SHOW_SLAVE_AUTH_INFO, OPT_OLD_RPL_COMPAT, OPT_SQL_MODE,OPT_SAFE_USER_CREATE, OPT_SLAVE_LOAD_TMPDIR}; OPT_SLAVE_LOAD_TMPDIR, OPT_NO_MIX_TYPE}; static struct option long_options[] = { {"ansi", no_argument, 0, 'a'}, Loading Loading @@ -2613,6 +2613,7 @@ static struct option long_options[] = { {"safemalloc-mem-limit", required_argument, 0, (int) OPT_SAFEMALLOC_MEM_LIMIT}, {"new", no_argument, 0, 'n'}, {"no-mix-table-types", no_argument, 0, (int)OPT_NO_MIX_TYPE}, {"old-protocol", no_argument, 0, 'o'}, {"old-rpl-compat", no_argument, 0, (int)OPT_OLD_RPL_COMPAT}, #ifdef ONE_THREAD Loading Loading @@ -3094,6 +3095,7 @@ static void usage(void) BACKUP or FORCE.\n\ --memlock Lock mysqld in memory\n\ -n, --new Use very new possible 'unsafe' functions\n\ --no-mix-table-types Do not use transactional and non-transactional tables in a single query\n -o, --old-protocol Use the old (3.20) protocol\n\ -P, --port=... Port number to use for connection\n"); #ifdef ONE_THREAD Loading Loading @@ -3577,6 +3579,9 @@ static void get_options(int argc,char **argv) case (int) OPT_LONG_FORMAT: opt_specialflag|=SPECIAL_LONG_LOG_FORMAT; break; case (int) OPT_NO_MIX_TYPE: opt_no_mix_types = 1; break; case (int) OPT_SKIP_NETWORKING: opt_disable_networking=1; mysql_port=0; Loading Loading
.bzrignore +1 −0 Original line number Diff line number Diff line Loading @@ -391,3 +391,4 @@ support-files/mysql.spec tags tmp/* vio/viotest-ssl =6
include/mysqld_error.h +2 −1 Original line number Diff line number Diff line Loading @@ -218,4 +218,5 @@ #define ER_WRONG_USAGE 1215 #define ER_WRONG_NUMBER_OF_COLUMNS_IN_SELECT 1216 #define ER_CANT_UPDATE_WITH_READLOCK 1217 #define ER_ERROR_MESSAGES 218 #define ER_MIXING_NOT_ALLOWED 1218 #define ER_ERROR_MESSAGES 219
sql/mysql_priv.h +1 −1 Original line number Diff line number Diff line Loading @@ -562,7 +562,7 @@ extern ulong keybuff_size,sortbuff_size,max_item_sort_length,table_cache_size, extern ulong specialflag, current_pid; extern bool low_priority_updates, using_update_log; extern bool opt_sql_bin_update, opt_safe_show_db, opt_warnings, opt_safe_user_create; opt_safe_user_create, opt_no_mix_types; extern char language[LIBLEN],reg_ext[FN_EXTLEN],blob_newline; extern const char **errmesg; /* Error messages */ extern const char *default_tx_isolation_name; Loading
sql/mysqld.cc +7 −2 Original line number Diff line number Diff line Loading @@ -224,7 +224,7 @@ static bool opt_log,opt_update_log,opt_bin_log,opt_slow_log,opt_noacl, opt_large_files=sizeof(my_off_t) > 4; bool opt_sql_bin_update = 0, opt_log_slave_updates = 0, opt_safe_show_db=0, opt_show_slave_auth_info = 0, opt_old_rpl_compat = 0, opt_safe_user_create = 0; opt_safe_user_create = 0, opt_no_mix_types = 0; FILE *bootstrap_file=0; int segfaulted = 0; // ensure we do not enter SIGSEGV handler twice extern MASTER_INFO glob_mi; Loading Loading @@ -2521,7 +2521,7 @@ enum options { OPT_MAX_BINLOG_DUMP_EVENTS, OPT_SPORADIC_BINLOG_DUMP_FAIL, OPT_SHOW_SLAVE_AUTH_INFO, OPT_OLD_RPL_COMPAT, OPT_SQL_MODE,OPT_SAFE_USER_CREATE, OPT_SLAVE_LOAD_TMPDIR}; OPT_SLAVE_LOAD_TMPDIR, OPT_NO_MIX_TYPE}; static struct option long_options[] = { {"ansi", no_argument, 0, 'a'}, Loading Loading @@ -2613,6 +2613,7 @@ static struct option long_options[] = { {"safemalloc-mem-limit", required_argument, 0, (int) OPT_SAFEMALLOC_MEM_LIMIT}, {"new", no_argument, 0, 'n'}, {"no-mix-table-types", no_argument, 0, (int)OPT_NO_MIX_TYPE}, {"old-protocol", no_argument, 0, 'o'}, {"old-rpl-compat", no_argument, 0, (int)OPT_OLD_RPL_COMPAT}, #ifdef ONE_THREAD Loading Loading @@ -3094,6 +3095,7 @@ static void usage(void) BACKUP or FORCE.\n\ --memlock Lock mysqld in memory\n\ -n, --new Use very new possible 'unsafe' functions\n\ --no-mix-table-types Do not use transactional and non-transactional tables in a single query\n -o, --old-protocol Use the old (3.20) protocol\n\ -P, --port=... Port number to use for connection\n"); #ifdef ONE_THREAD Loading Loading @@ -3577,6 +3579,9 @@ static void get_options(int argc,char **argv) case (int) OPT_LONG_FORMAT: opt_specialflag|=SPECIAL_LONG_LOG_FORMAT; break; case (int) OPT_NO_MIX_TYPE: opt_no_mix_types = 1; break; case (int) OPT_SKIP_NETWORKING: opt_disable_networking=1; mysql_port=0; Loading