| 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 |
include/stop_slave.inc |
| 8 |
connection master; |
| 9 |
call mtr.add_suppression("Error in Log_event::read_log_event()"); |
| 10 |
include/rpl_stop_server.inc [server_number=1] |
| 11 |
include/rpl_start_server.inc [server_number=1] |
| 12 |
show binlog events; |
| 13 |
ERROR HY000: Error when executing command SHOW BINLOG EVENTS: Wrong offset or I/O error |
| 14 |
connection slave; |
| 15 |
call mtr.add_suppression("Slave I/O: Got fatal error 1236 from master when reading data from binary log"); |
| 16 |
include/reset_slave.inc |
| 17 |
Warnings: |
| 18 |
Note 4190 RESET SLAVE is implicitly changing the value of 'Using_Gtid' from 'No' to 'Slave_Pos' |
| 19 |
start slave; |
| 20 |
include/wait_for_slave_param.inc [Last_IO_Errno] |
| 21 |
Last_IO_Errno = '1236' |
| 22 |
Last_IO_Error = 'Got fatal error 1236 from master when reading data from binary log: 'binlog truncated in the middle of event; consider out of disk space on master; the first event '.' at XXX, the last event read from 'master-bin.000001' at XXX, the last byte read from 'master-bin.000001' at XXX.'' |
| 23 |
connection master; |
| 24 |
reset master; |
| 25 |
connection slave; |
| 26 |
stop slave; |
| 27 |
reset slave; |
| 28 |
Warnings: |
| 29 |
Note 4190 RESET SLAVE is implicitly changing the value of 'Using_Gtid' from 'No' to 'Slave_Pos' |
| 30 |
drop table if exists t; |
| 31 |
reset master; |
| 32 |
End of the tests |
| 33 |
include/rpl_end.inc |