mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
test update: what we want to detect in this test is if the slave stopped.
mysql-test/r/rpl_trunc_binlog.result: result update mysql-test/t/rpl_trunc_binlog.test: what we want to detect in this test is if the slave stopped.
This commit is contained in:
parent
0b8743c1b2
commit
a2128b247f
2 changed files with 1 additions and 6 deletions
|
@ -8,7 +8,3 @@ stop slave;
|
|||
flush logs;
|
||||
reset slave;
|
||||
start slave;
|
||||
show slave status;
|
||||
Master_Host Master_User Master_Port Connect_retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_do_db Replicate_ignore_db Last_errno Last_error Skip_counter Exec_master_log_pos Relay_log_space
|
||||
127.0.0.1 root MASTER_PORT 1 master-bin.002 4 slave-relay-bin.002 161 master-bin.001 Yes No 0 Rolling back unfinished transaction (no COMMIT or ROLLBACK) from relay log. Probably cause is that the master died while writing the transaction to it's binary log. 0 79 317
|
||||
reset master;
|
||||
|
|
|
@ -20,5 +20,4 @@ reset slave;
|
|||
start slave;
|
||||
# can't sync_with_master so we must sleep
|
||||
sleep 3;
|
||||
--replace_result $MASTER_MYPORT MASTER_PORT
|
||||
show slave status;
|
||||
wait_for_slave_to_stop;
|
||||
|
|
Loading…
Add table
Reference in a new issue