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