2000-12-07 15:54:59 +01:00
|
|
|
source include/master-slave.inc;
|
2003-01-06 00:48:59 +01:00
|
|
|
|
2001-01-03 01:15:48 +01:00
|
|
|
create table t1 (n int);
|
|
|
|
insert into t1 values(1);
|
2002-10-25 01:46:14 +02:00
|
|
|
sync_slave_with_master;
|
|
|
|
stop slave;
|
|
|
|
start slave;
|
2000-11-25 03:49:13 +01:00
|
|
|
connection master;
|
2001-01-03 01:15:48 +01:00
|
|
|
insert into t1 values(2);
|
2000-11-25 03:49:13 +01:00
|
|
|
#let slave catch up
|
2002-10-25 01:46:14 +02:00
|
|
|
sync_slave_with_master;
|
2001-03-25 00:02:26 +01:00
|
|
|
select * from t1;
|
2001-01-03 01:15:48 +01:00
|
|
|
connection master;
|
|
|
|
drop table t1;
|
2002-10-25 01:46:14 +02:00
|
|
|
sync_slave_with_master;
|
2005-07-28 02:22:47 +02:00
|
|
|
|
|
|
|
# End of 4.1 tests
|