1include/master-slave.inc 2[connection master] 3FLUSH LOGS; 4CREATE TABLE t1(c1 INT); 5connection slave; 6connection master; 7FLUSH LOGS; 8call mtr.add_suppression('Got fatal error 1236 from master when reading data from binary log: .*could not find next log'); 9connection slave; 10include/wait_for_slave_io_error.inc [errno=1236] 11Last_IO_Error = 'Got fatal error 1236 from master when reading data from binary log: 'could not find next log; the first event 'master-bin.000001' at XXX, the last event read from 'master-bin.000002' at XXX, the last byte read from 'master-bin.000002' at XXX.'' 12connection master; 13CREATE TABLE t2(c1 INT); 14FLUSH LOGS; 15CREATE TABLE t3(c1 INT); 16FLUSH LOGS; 17CREATE TABLE t4(c1 INT); 18connection slave; 19START SLAVE IO_THREAD; 20include/wait_for_slave_io_to_start.inc 21connection master; 22connection slave; 23SHOW TABLES; 24Tables_in_test 25t1 26t2 27t3 28t4 29connection master; 30DROP TABLE t1, t2, t3, t4; 31include/rpl_end.inc 32