| 1 |
# This test checks that the slave I/O thread refuses to start if slave |
| 2 |
# and master have the same server id (because this is a useless setup, |
| 3 |
# and otherwise SHOW SLAVE STATUS shows progress but all queries are |
| 4 |
# ignored, which has caught our customers), unless |
| 5 |
# --replicate-same-server-id. |
| 6 |
|
| 7 |
--let $rpl_topology= 2->2 |
| 8 |
--let $rpl_skip_start_slave= 1 |
| 9 |
--source include/rpl_init.inc |
| 10 |
|
| 11 |
--connection server_2 |
| 12 |
START SLAVE; |
| 13 |
# 1593 = ER_SLAVE_FATAL_ERROR |
| 14 |
--let $slave_io_errno= 1593 |
| 15 |
--let $show_slave_io_error= 1 |
| 16 |
--source include/wait_for_slave_io_error.inc |
| 17 |
|
| 18 |
--source include/stop_slave_sql.inc |
| 19 |
RESET SLAVE; |
| 20 |
|
| 21 |
--let $rpl_only_running_threads= 1 |
| 22 |
--source include/rpl_end.inc |