MOON
Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4
System: Linux vps.panamaemb.org.sg 3.10.0-1160.80.1.vz7.191.4 #1 SMP Thu Dec 15 20:31:06 MSK 2022 x86_64
User: panama (500)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: //usr/share/mysql-test/suite/ndb_rpl/t/ndb_rpl_ui2.test
--source include/have_ndb.inc
--source include/have_binlog_format_mixed_or_row.inc
--source suite/ndb_rpl/ndb_master-slave.inc

--connection master

CREATE TABLE t1 (pk int primary key, uk int not null, unique(uk)) engine=ndb;

--sync_slave_with_master
--connection slave
STOP SLAVE;
insert into t1 values (1,1);
insert into t1 values (2,2);
--connection master
begin;
insert into t1 values (1,2);
insert into t1 values (2,1);
commit;
delete from t1;
begin;
insert into t1 values (1,1);
insert into t1 values (2,2);
commit;

--connection slave
start slave;

--connection master
--sync_slave_with_master
--connection slave
--sorted_result
select * from t1;

--connection master
drop table t1;
--sync_slave_with_master

--source include/rpl_end.inc