2002-08-23 20:41:27 +02:00
|
|
|
#
|
|
|
|
# Running test with abort-slave-event-count=1
|
|
|
|
# This will force slave to reconnect after every event
|
|
|
|
#
|
|
|
|
|
2001-10-11 21:54:06 +02:00
|
|
|
require_manager;
|
2001-10-08 03:58:07 +02:00
|
|
|
connect (master,localhost,root,,test,0,master.sock);
|
|
|
|
connect (slave,localhost,root,,test,0,slave.sock);
|
2001-10-02 00:13:55 +02:00
|
|
|
server_stop master;
|
|
|
|
server_start master;
|
2001-01-27 23:33:31 +01:00
|
|
|
connection slave;
|
|
|
|
reset slave;
|
|
|
|
slave start;
|
|
|
|
connection master;
|
|
|
|
show master logs;
|
|
|
|
drop table if exists t1;
|
|
|
|
create table t1(n int);
|
|
|
|
insert into t1 values (3351);
|
|
|
|
save_master_pos;
|
|
|
|
connection slave;
|
|
|
|
sync_with_master;
|
|
|
|
select * from t1;
|
|
|
|
connection master;
|
|
|
|
drop table t1;
|
|
|
|
save_master_pos;
|
|
|
|
connection slave;
|
|
|
|
sync_with_master;
|