mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
27 lines
598 B
Text
27 lines
598 B
Text
#
|
|
# Running test with abort-slave-event-count=1
|
|
# This will force slave to reconnect after every event
|
|
#
|
|
|
|
require_manager;
|
|
connect (master,localhost,root,,test,0,master.sock);
|
|
connect (slave,localhost,root,,test,0,slave.sock);
|
|
connection master;
|
|
reset master;
|
|
server_stop master;
|
|
server_start master;
|
|
connection slave;
|
|
reset slave;
|
|
start slave;
|
|
connection master;
|
|
show binary logs;
|
|
--disable_warnings
|
|
drop table if exists t1;
|
|
--enable_warnings
|
|
create table t1(n int);
|
|
insert into t1 values (3351);
|
|
sync_slave_with_master;
|
|
select * from t1;
|
|
connection master;
|
|
drop table t1;
|
|
sync_slave_with_master;
|