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);
|
2003-06-10 23:29:49 +02:00
|
|
|
connection master;
|
|
|
|
reset master;
|
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;
|
2002-10-25 01:46:14 +02:00
|
|
|
start slave;
|
2001-01-27 23:33:31 +01:00
|
|
|
connection master;
|
2002-10-25 02:32:42 +02:00
|
|
|
show binary logs;
|
2003-01-06 00:48:59 +01:00
|
|
|
--disable_warnings
|
2001-01-27 23:33:31 +01:00
|
|
|
drop table if exists t1;
|
2003-01-06 00:48:59 +01:00
|
|
|
--enable_warnings
|
2001-01-27 23:33:31 +01:00
|
|
|
create table t1(n int);
|
|
|
|
insert into t1 values (3351);
|
2002-10-25 01:46:14 +02:00
|
|
|
sync_slave_with_master;
|
2001-01-27 23:33:31 +01:00
|
|
|
select * from t1;
|
|
|
|
connection master;
|
|
|
|
drop table t1;
|
2002-10-25 01:46:14 +02:00
|
|
|
sync_slave_with_master;
|