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