mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
e962b04bd0
rpl000014.test fixed bug in testcase rename.test fixed cleanup problem handler.cc added a comment sql_class.h fixed bug in active_transaction() when MySQL was not compiled with transaction support
27 lines
605 B
Text
27 lines
605 B
Text
source include/master-slave.inc;
|
|
connection master;
|
|
show master status;
|
|
connection slave;
|
|
sleep 0.2;
|
|
show slave status;
|
|
change master to master_log_pos=73;
|
|
sleep 0.2;
|
|
slave stop;
|
|
change master to master_log_pos=73;
|
|
show slave status;
|
|
slave start;
|
|
show slave status;
|
|
change master to master_log_pos=173;
|
|
show slave status;
|
|
connection master;
|
|
show master status;
|
|
create table if not exists foo(n int);
|
|
drop table if exists foo;
|
|
create table foo (n int);
|
|
insert into foo values (1),(2),(3);
|
|
connection slave;
|
|
change master to master_log_pos=73;
|
|
sleep 2;
|
|
select * from foo;
|
|
connection master;
|
|
drop table foo;
|