mirror of
https://github.com/MariaDB/server.git
synced 2025-11-15 09:02:33 +03:00
been reached): Post-merge patch to handle all the changes to the tree since the tree was cloned.
41 lines
528 B
Plaintext
41 lines
528 B
Plaintext
stop slave;
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
reset master;
|
|
reset slave;
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
start slave;
|
|
SHOW SLAVE STATUS;
|
|
SHOW SLAVE HOSTS;
|
|
Server_id Host Port Rpl_recovery_rank Master_id
|
|
2 127.0.0.1 SLAVE_PORT 2 1
|
|
create table t1 ( n int);
|
|
insert into t1 values (1),(2),(3),(4);
|
|
insert into t1 values(5);
|
|
SELECT * FROM t1 ORDER BY n;
|
|
n
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
SELECT * FROM t1 ORDER BY n;
|
|
n
|
|
1
|
|
2
|
|
3
|
|
4
|
|
SELECT * FROM t1 ORDER BY n;
|
|
n
|
|
1
|
|
2
|
|
3
|
|
4
|
|
SELECT * FROM t1 ORDER BY n;
|
|
n
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
drop table t1;
|