mariadb/mysql-test/suite/multi_source/change_master.test
Monty 4ebaa80f0b Failed change master could leave around old relay log files
The reason was that there where no cleanup after a failed 'change master'.
Fixed by doing a cleanup of created relay log files in remove_master_info()
2021-09-14 13:43:50 +03:00

13 lines
282 B
Text

--source include/not_embedded.inc
RESET MASTER;
--connect (slave,127.0.0.1,root,,,$SERVER_MYPORT_3)
--error ER_RELAY_LOG_INIT
change master 'abc1' to relay_log_file='';
--error ER_RELAY_LOG_INIT
change master 'abc1' to relay_log_file='';
--disconnect slave
--connection default