polardbxengine/mysql-test/suite/xcluster/t/show.test

24 lines
565 B
Plaintext

--replace_column 2 # 3 #
show consensus logs;
--error 1220
show consensus_log events from 0;
flush local logs;
call dbms_consensus.local_purge_log(10000);
create table t(id int primary key);
insert into t values(0);
insert into t values(1);
insert into t values(2);
--replace_column 1 # 2 # 3 # 4 # 5 # 6 #
show consensus_log events from 1 limit 10;
#show binary logs;
flush local logs;
call dbms_consensus.force_purge_log(10000);
insert into t values(3);
insert into t values(4);
insert into t values(5);
--replace_column 1 # 2 #
show binary logs;
drop table t;