| 1 |
include/master-slave.inc |
| 2 |
[connection master] |
| 3 |
connection slave; |
| 4 |
stop slave; |
| 5 |
reset slave; |
| 6 |
connection slave; |
| 7 |
set @saved_dbug = @@global.debug_dbug; |
| 8 |
SET GLOBAL debug_dbug= "d,simulate_io_slave_error_on_init,simulate_sql_slave_error_on_init"; |
| 9 |
start slave; |
| 10 |
include/wait_for_slave_sql_error.inc [errno=1593] |
| 11 |
Last_SQL_Error = 'Failed during slave thread initialization' |
| 12 |
call mtr.add_suppression("Failed during slave.* thread initialization"); |
| 13 |
set @@global.debug_dbug = @saved_dbug; |
| 14 |
connection slave; |
| 15 |
reset slave; |
| 16 |
SET GLOBAL init_slave= "garbage"; |
| 17 |
start slave; |
| 18 |
include/wait_for_slave_sql_error.inc [errno=1064] |
| 19 |
Last_SQL_Error = 'Slave SQL thread aborted. Can't execute init_slave query' |
| 20 |
SET GLOBAL init_slave= ""; |
| 21 |
include/stop_slave_io.inc |
| 22 |
RESET SLAVE; |
| 23 |
include/rpl_end.inc |