mariadb/mysql-test/suite/rpl/t
Luis Soares 19ac26274b BUG#28796: CHANGE MASTER TO MASTER_HOST="" leads to invalid master.info
NOTE: this is the backport to next-mr.
                
This patch addresses the bug reported by checking wether 
host argument is an empty string or not. If empty, an error is
reported to the client, otherwise continue normally.
                       
This commit is based on the originally proposed patch and adds 
a test case as requested during review as well as refines comments, 
and makes test case result file less verbose (compared to previous patch).
2009-09-29 15:09:46 +01:00
..
disabled.def 46996 workaruond 2009-09-01 13:38:17 +02:00
rpl000010-slave.opt
rpl000010.test
rpl000011.test
rpl000013.test
rpl000017-slave.opt
rpl000017-slave.sh
rpl000017.test
rpl_000015-slave.opt
rpl_000015.cnf
rpl_000015.test
rpl_alter.test
rpl_alter_db.test
rpl_auto_increment-master.opt
rpl_auto_increment.test
rpl_auto_increment_11932.test
rpl_begin_commit_rollback-slave.opt
rpl_begin_commit_rollback.test
rpl_binlog_corruption-master.opt
rpl_binlog_corruption.test
rpl_binlog_grant.test
rpl_binlog_max_cache_size-master.opt BUG#43929 binlog corruption when max_binlog_cache_size is exceeded 2009-06-18 14:52:46 +01:00
rpl_binlog_max_cache_size.test BUG#43929 binlog corruption when max_binlog_cache_size is exceeded 2009-06-18 14:52:46 +01:00
rpl_binlog_query_filter_rules-master.opt
rpl_binlog_query_filter_rules.test
rpl_bit.test
rpl_bit_npk.test
rpl_blackhole.test
rpl_bug26395.test
rpl_bug31076.test
rpl_bug33931.test Bug #42408 Faulty regex for detecting [Warning] and [ERROR] in mysqld error log 2009-08-28 16:13:27 +02:00
rpl_bug38694-slave.opt
rpl_bug38694.test
rpl_change_master.test
rpl_charset.test
rpl_charset_sjis.test
rpl_circular_for_4_hosts.cnf
rpl_circular_for_4_hosts.test
rpl_colSize.test
rpl_commit_after_flush.test
rpl_concurrency_error-master.opt BUG#44581 Slave stops when transaction with non-transactional table gets lock wait 2009-07-06 09:02:14 +01:00
rpl_concurrency_error.test BUG#46130 Slave does not correctly handle "expected errors" 2009-08-13 17:21:01 +01:00
rpl_create_database-master.opt
rpl_create_database-slave.opt
rpl_create_database.test
rpl_create_if_not_exists.test BUG#45574 CREATE IF NOT EXISTS is not binlogged if the object exists 2009-08-13 10:48:57 +08:00
rpl_create_tmp_table_if_not_exists.test BUG#45574 CREATE IF NOT EXISTS is not binlogged if the object exists 2009-08-13 10:48:57 +08:00
rpl_critical_errors.test
rpl_cross_version-master.opt
rpl_cross_version.test
rpl_ddl.test
rpl_deadlock_innodb-slave.opt
rpl_deadlock_innodb.test
rpl_delete_no_where.test
rpl_do_grant.test 46996 workaruond 2009-09-01 13:38:17 +02:00
rpl_drop.test
rpl_drop_db.test
rpl_drop_if_exists.test
rpl_drop_temp-slave.opt
rpl_drop_temp.test merge mysql-5.0-bugteam --> mysql-5.1-bugteam 2009-08-28 10:45:57 +01:00
rpl_drop_view.test
rpl_dual_pos_advance-master.opt
rpl_dual_pos_advance.test
rpl_EE_err.test
rpl_empty_master_crash-master.opt
rpl_empty_master_crash.test
rpl_empty_master_host.test BUG#28796: CHANGE MASTER TO MASTER_HOST="" leads to invalid master.info 2009-09-29 15:09:46 +01:00
rpl_err_ignoredtable-slave.opt
rpl_err_ignoredtable.test
rpl_events.test Bug #44331 Restore of database with events produces warning in replication 2009-08-31 10:26:01 +08:00
rpl_extraCol_innodb.test
rpl_extraCol_myisam.test
rpl_extraColmaster_innodb.test
rpl_extraColmaster_myisam.test
rpl_failed_optimize-master.opt
rpl_failed_optimize.test
rpl_filter_tables_not_exist-slave.opt
rpl_filter_tables_not_exist.test
rpl_flushlog_loop-master.opt
rpl_flushlog_loop-master.sh
rpl_flushlog_loop-slave.opt
rpl_flushlog_loop-slave.sh
rpl_flushlog_loop.test
rpl_foreign_key_innodb.test
rpl_found_rows.test
rpl_free_items-slave.opt
rpl_free_items.test
rpl_get_lock.test
rpl_get_master_version_and_clock.test Bug #45214 get_master_version_and_clock does not report error when queries fail 2009-07-17 13:07:43 +08:00
rpl_grant.test
rpl_idempotency-slave.opt
rpl_idempotency.test Bug #42408 Faulty regex for detecting [Warning] and [ERROR] in mysqld error log 2009-08-25 15:56:50 +02:00
rpl_ignore_grant-slave.opt
rpl_ignore_grant.test
rpl_ignore_revoke-slave.opt
rpl_ignore_revoke.test
rpl_ignore_table-slave.opt
rpl_ignore_table.test
rpl_ignore_table_update-slave.opt
rpl_ignore_table_update.test
rpl_incident-master.opt
rpl_incident.test
rpl_init_slave-slave.opt
rpl_init_slave.test Bug#44920: MTR2 is not processing master.opt input properly on Windows. 2009-07-06 18:20:17 -04:00
rpl_init_slave_errors.test Bug #42408 Faulty regex for detecting [Warning] and [ERROR] in mysqld error log 2009-08-28 16:13:27 +02:00
rpl_innodb-master.opt
rpl_innodb.test
rpl_innodb_bug28430-master.opt
rpl_innodb_bug28430-slave.opt
rpl_innodb_bug28430.test
rpl_innodb_bug30888.test
rpl_innodb_mixed_ddl.test
rpl_innodb_mixed_dml.test
rpl_insert.test
rpl_insert_id.test
rpl_insert_id_pk.test
rpl_insert_ignore.test
rpl_insert_select.test
rpl_invoked_features.test
rpl_killed_ddl-master.opt
rpl_killed_ddl.test
rpl_known_bugs_detection-master.opt
rpl_known_bugs_detection.test
rpl_LD_INFILE.test
rpl_load_from_master-slave.opt
rpl_load_from_master.test
rpl_load_table_from_master.test
rpl_loaddata.test
rpl_loaddata_charset.test Manual Merge 2009-08-12 13:31:56 +08:00
rpl_loaddata_fatal-slave.opt
rpl_loaddata_fatal.test
rpl_loaddata_m-master.opt
rpl_loaddata_m.test
rpl_loaddata_map-master.opt
rpl_loaddata_map-slave.opt
rpl_loaddata_map.test
rpl_loaddata_s-slave.opt
rpl_loaddata_s.test
rpl_loaddata_simple.test
rpl_loaddatalocal.test
rpl_loadfile.test
rpl_locale.test
rpl_log_pos.test
rpl_many_optimize.test
rpl_master_pos_wait.test
rpl_misc_functions-slave.sh
rpl_misc_functions.test
rpl_mixed_bit_pk.test
rpl_mixed_ddl_dml.test
rpl_multi_delete-slave.opt
rpl_multi_delete.test
rpl_multi_delete2-slave.opt
rpl_multi_delete2.test
rpl_multi_engine.test
rpl_multi_update.test
rpl_multi_update2-slave.opt
rpl_multi_update2.test
rpl_multi_update3.test
rpl_multi_update4-slave.opt
rpl_multi_update4.test
rpl_name_const.test
rpl_optimize.test
rpl_packet-master.opt
rpl_packet-slave.opt
rpl_packet.test
rpl_plugin_load-master.opt
rpl_plugin_load-slave.opt
rpl_plugin_load.test
rpl_ps.test
rpl_rbr_to_sbr.test
rpl_read_only.test
rpl_relay_space_innodb.test
rpl_relay_space_myisam.test
rpl_relayrotate-slave.opt
rpl_relayrotate.test
rpl_relayspace-slave.opt
rpl_relayspace.test
rpl_replicate_do-slave.opt
rpl_replicate_do.test
rpl_replicate_ignore_db-slave.opt
rpl_replicate_ignore_db.test
rpl_report-slave.opt
rpl_report.test
rpl_rewrt_db-slave.opt merge mysql-5.0-bugteam --> mysql-5.1-bugteam 2009-08-28 10:45:57 +01:00
rpl_rewrt_db.test merge mysql-5.0-bugteam --> mysql-5.1-bugteam 2009-08-28 10:45:57 +01:00
rpl_rotate_logs-slave.opt
rpl_rotate_logs-slave.sh
rpl_rotate_logs.cnf
rpl_rotate_logs.test
rpl_row_001.test
rpl_row_4_bytes-master.opt
rpl_row_4_bytes.test
rpl_row_basic_2myisam.test
rpl_row_basic_3innodb.test
rpl_row_basic_8partition.test
rpl_row_basic_11bugs-master.opt
rpl_row_basic_11bugs.test
rpl_row_blob_innodb.test
rpl_row_blob_myisam.test
rpl_row_colSize.test
rpl_row_conflicts.test
rpl_row_create_table.test
rpl_row_delayed_ins.test
rpl_row_drop.test
rpl_row_err_daisychain-master.opt
rpl_row_err_daisychain-slave.opt
rpl_row_flsh_tbls.test
rpl_row_func001.test
rpl_row_func002.test
rpl_row_func003.test
rpl_row_inexist_tbl.test
rpl_row_insert_delayed.test
rpl_row_log-master.opt
rpl_row_log-slave.opt
rpl_row_log.test
rpl_row_log_innodb-master.opt
rpl_row_log_innodb.test
rpl_row_max_relay_size.test
rpl_row_mysqlbinlog-master.opt
rpl_row_mysqlbinlog.test
rpl_row_NOW.test
rpl_row_reset_slave.test
rpl_row_show_relaylog_events.test BUG#28777, WL#4293: SHOW BINLOG EVENTS does not work on relay log 2009-09-29 00:04:20 +01:00
rpl_row_sp001.test
rpl_row_sp002_innodb.test
rpl_row_sp003.test
rpl_row_sp005.test
rpl_row_sp006_InnoDB.test
rpl_row_sp007_innodb.test
rpl_row_sp008.test
rpl_row_sp009.test
rpl_row_sp010.test
rpl_row_sp011.test
rpl_row_sp012.test
rpl_row_stop_middle_update-master.opt
rpl_row_stop_middle_update-slave.opt
rpl_row_stop_middle_update.test
rpl_row_tabledefs_2myisam.test
rpl_row_tabledefs_3innodb.test
rpl_row_trig001.test
rpl_row_trig002.test
rpl_row_trig003.test
rpl_row_trig004.test
rpl_row_unsafe_funcs.test
rpl_row_until.test
rpl_row_USER.test
rpl_row_UUID.test
rpl_row_view01.test
rpl_row_wide_table.test
rpl_server_id.test
rpl_server_id1.test
rpl_server_id2-slave.opt
rpl_server_id2.test
rpl_session_var.test
rpl_set_charset.test
rpl_sf.test BUG#41166 stored function requires "deterministic" if binlog_format is "statement" 2009-07-28 18:44:38 +01:00
rpl_skip_error-slave.opt
rpl_skip_error.test
rpl_slave_grp_exec.test
rpl_slave_load_in.test
rpl_slave_load_remove_tmpfile-slave.opt
rpl_slave_load_remove_tmpfile.test 46996 workaruond 2009-09-01 13:38:17 +02:00
rpl_slave_load_tmpdir_not_exist-slave.opt
rpl_slave_load_tmpdir_not_exist.test
rpl_slave_skip.test
rpl_slave_status.test
rpl_slow_query_log-slave.opt BUG#23300: Slow query log on slave does not log slow replicated statements 2009-09-29 15:09:01 +01:00
rpl_slow_query_log.test BUG#23300: Slow query log on slave does not log slow replicated statements 2009-09-29 15:09:01 +01:00
rpl_sp-master.opt
rpl_sp-slave.opt
rpl_sp.test Merge 5.0 -> 5.1 of fix for bug 45902 2009-07-02 15:40:27 +02:00
rpl_sp004.test
rpl_sp_effects-master.opt
rpl_sp_effects-slave.opt
rpl_sp_effects.test
rpl_sporadic_master-master.opt
rpl_sporadic_master.test
rpl_ssl.test
rpl_ssl1.test
rpl_start_stop_slave-slave.opt
rpl_start_stop_slave.test
rpl_stm_000001.test
rpl_stm_auto_increment_bug33029.test
rpl_stm_conflicts.test
rpl_stm_EE_err2.test
rpl_stm_flsh_tbls.test
rpl_stm_insert_delayed.test
rpl_stm_loadfile.test
rpl_stm_log-master.opt
rpl_stm_log-slave.opt
rpl_stm_log.test
rpl_stm_max_relay_size.test
rpl_stm_mix_show_relaylog_events.test BUG#28777, WL#4293: SHOW BINLOG EVENTS does not work on relay log 2009-09-29 00:04:20 +01:00
rpl_stm_mixing_engines.test BUG#28976 Mixing trans and non-trans tables in one transaction results in incorrect 2009-08-27 00:13:03 +01:00
rpl_stm_multi_query.test
rpl_stm_no_op.test
rpl_stm_reset_slave.test
rpl_stm_until.test
rpl_switch_stm_row_mixed.test
rpl_temp_table.test
rpl_temp_table_mix_row.test BUG#43046: mixed mode switch to row format with temp table lead 2009-07-26 22:48:24 +01:00
rpl_temporary.test
rpl_temporary_errors-slave.opt
rpl_temporary_errors.test
rpl_timezone-master.opt
rpl_timezone-slave.opt
rpl_timezone.test
rpl_trigger.test
rpl_trunc_temp.test
rpl_truncate_2myisam.test
rpl_truncate_3innodb.test
rpl_udf-master.opt
rpl_udf-slave.opt
rpl_udf.test
rpl_user.test
rpl_user_variables.test
rpl_variables.test
rpl_variables_stm.test
rpl_view.test