rpl000018.test 621 Bytes
Newer Older
1 2 3 4 5
#
# Running test with abort-slave-event-count=1
# This will force slave to reconnect after every event
#

6
require_manager;
monty@mysql.com's avatar
monty@mysql.com committed
7
connect (master,localhost,root,,test,0,$MASTER_MYPORT);
8
connect (slave,localhost,root,,test,0,slave.sock);
9 10
connection master;
reset master;
11 12
server_stop master;
server_start master;
13 14
connection slave;
reset slave;
15
start slave;
16
connection master;
17
show binary logs;
18
--disable_warnings
19
drop table if exists t1;
20
--enable_warnings
21 22
create table t1(n int);
insert into t1 values (3351);
23
sync_slave_with_master;
24 25 26
select * from t1;
connection master;
drop table t1;
27
sync_slave_with_master;
28 29

# End of 4.1 tests