mySQL 5.0.11 sources for tomato
[tomato.git] / release / src / router / mysql / mysql-test / suite / rpl / r / rpl_binlog_corruption.result
bloba2a065e0a4fbdfb9e9b0efa48b7a18d4a0fa6e8b
1 include/master-slave.inc
2 [connection master]
3 call mtr.add_suppression('Found invalid event in binary log');
4 call mtr.add_suppression('Slave SQL.*Relay log read failure: Could not parse relay log event entry.* 1594');
5 ==== Initialize ====
6 include/stop_slave.inc
7 RESET SLAVE;
8 include/setup_fake_relay_log.inc
9 Setting up fake replication from MYSQL_TEST_DIR/std_data/bug40482-bin.000001
10 ==== Test ====
11 START SLAVE SQL_THREAD;
12 include/wait_for_slave_sql_error.inc [errno=1594]
13 Last_SQL_Error = Relay log read failure: Could not parse relay log event entry. The possible reasons are: the master's binary log is corrupted (you can check this by running 'mysqlbinlog' on the binary log), the slave's relay log is corrupted (you can check this by running 'mysqlbinlog' on the relay log), a network problem, or a bug in the master's or slave's MySQL code. If you want to check the master's binary log or slave's relay log, you will be able to know their names by issuing 'SHOW SLAVE STATUS' on this slave.
14 ==== Clean up ====
15 include/cleanup_fake_relay_log.inc
16 include/rpl_end.inc