2002-08-23 21:41:27 +03:00
|
|
|
#
|
|
|
|
# Running test with abort-slave-event-count=1
|
|
|
|
# This will force slave to reconnect after every event
|
|
|
|
#
|
|
|
|
|
2001-10-11 13:54:06 -06:00
|
|
|
require_manager;
|
2004-07-15 04:19:07 +03:00
|
|
|
connect (master,localhost,root,,test,0,$MASTER_MYPORT);
|
2001-10-08 04:58:07 +03:00
|
|
|
connect (slave,localhost,root,,test,0,slave.sock);
|
2003-06-10 23:29:49 +02:00
|
|
|
connection master;
|
|
|
|
reset master;
|
2001-10-01 16:13:55 -06:00
|
|
|
server_stop master;
|
|
|
|
server_start master;
|
2001-01-27 15:33:31 -07:00
|
|
|
connection slave;
|
|
|
|
reset slave;
|
2002-10-24 17:46:14 -06:00
|
|
|
start slave;
|
2001-01-27 15:33:31 -07:00
|
|
|
connection master;
|
2002-10-24 18:32:42 -06:00
|
|
|
show binary logs;
|
2003-01-06 01:48:59 +02:00
|
|
|
--disable_warnings
|
2001-01-27 15:33:31 -07:00
|
|
|
drop table if exists t1;
|
2003-01-06 01:48:59 +02:00
|
|
|
--enable_warnings
|
2001-01-27 15:33:31 -07:00
|
|
|
create table t1(n int);
|
|
|
|
insert into t1 values (3351);
|
2002-10-24 17:46:14 -06:00
|
|
|
sync_slave_with_master;
|
2001-01-27 15:33:31 -07:00
|
|
|
select * from t1;
|
|
|
|
connection master;
|
|
|
|
drop table t1;
|
2002-10-24 17:46:14 -06:00
|
|
|
sync_slave_with_master;
|