mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Merge branch '10.11' into 11.0
This commit is contained in:
@@ -18,6 +18,17 @@ sync_slave_with_master;
|
||||
CHANGE MASTER TO MASTER_USE_GTID=NO;
|
||||
--source include/start_slave.inc
|
||||
|
||||
--connection master
|
||||
--echo # Ensure only the new binlog dump thread is alive (wait for the old one
|
||||
--echo # to complete its kill)
|
||||
--let $wait_condition= select count(*)=1 from information_schema.processlist where command='Binlog Dump'
|
||||
--source include/wait_condition.inc
|
||||
|
||||
--echo # And that it has already sent its fake rotate
|
||||
--let $wait_condition= select count(*)=1 from information_schema.processlist where state LIKE '%Master has sent all binlog to slave%' and command='Binlog Dump'
|
||||
--source include/wait_condition.inc
|
||||
|
||||
--connection slave
|
||||
--source include/stop_slave.inc
|
||||
--echo # Test slave with no capability gets dummy event, which is ignored.
|
||||
set @old_dbug= @@global.debug_dbug;
|
||||
|
Reference in New Issue
Block a user