1include/master-slave.inc 2[connection master] 3connection master; 4CREATE TABLE t1 (c1 INT); 5INSERT INTO t1 (c1) VALUES (1); 6connection slave; 7connection slave; 8include/stop_slave_sql.inc 9connection master; 10FLUSH LOGS; 11FLUSH LOGS; 12INSERT INTO t1 (c1) VALUES (2); 13include/sync_slave_io_with_master.inc 14call mtr.add_suppression("File '.*slave-relay-bin."); 15call mtr.add_suppression("Could not open log file"); 16call mtr.add_suppression("Failed to open the relay log"); 17call mtr.add_suppression("Failed to initialize the master info structure"); 18include/rpl_stop_server.inc [server_number=2] 19# Removing file(s) 20include/rpl_start_server.inc [server_number=2] 21START SLAVE; 22ERROR HY000: Could not initialize master info structure for ''; more error messages can be found in the MariaDB error log 23START SLAVE; 24ERROR HY000: Could not initialize master info structure for ''; more error messages can be found in the MariaDB error log 25RESET SLAVE; 26DROP TABLE t1; 27START SLAVE UNTIL MASTER_LOG_FILE= 'MASTER_LOG_FILE', MASTER_LOG_POS= MASTER_LOG_POS;; 28include/wait_for_slave_sql_to_stop.inc 29include/stop_slave_io.inc 30include/start_slave.inc 31connection master; 32connection slave; 33include/diff_tables.inc [master:t1, slave:t1] 34connection master; 35DROP TABLE t1; 36connection slave; 37include/rpl_end.inc 38