mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge branch '10.10' into 10.11
This commit is contained in:
@ -281,6 +281,10 @@ Last_SQL_Errno = '0'
|
||||
#
|
||||
START SLAVE for channel 'master1';
|
||||
include/wait_for_slave_to_start.inc
|
||||
connection master1;
|
||||
create table foo (a int);
|
||||
drop table foo;
|
||||
connection slave;
|
||||
|
||||
show slave status for channel 'master1'
|
||||
Master_Port = 'MYPORT_1'
|
||||
|
@ -328,6 +328,15 @@ STOP SLAVE for channel 'master1';
|
||||
START SLAVE for channel 'master1';
|
||||
--source include/wait_for_slave_to_start.inc
|
||||
|
||||
# Force some data into the relay log to ensure that we get a new relay log
|
||||
--connection master1
|
||||
create table foo (a int);
|
||||
drop table foo;
|
||||
--save_master_pos
|
||||
--connection slave
|
||||
--sync_with_master 0,'master1'
|
||||
--source include/wait_for_sql_thread_read_all.inc
|
||||
|
||||
--echo
|
||||
--echo show slave status for channel 'master1'
|
||||
--let $status_items= Master_Port, Relay_Log_File, Slave_IO_Running, Slave_SQL_Running, Last_Errno, Last_SQL_Errno
|
||||
|
Reference in New Issue
Block a user