Commit c53cb718 authored by Sachin's avatar Sachin Committed by Sergei Golubchik

MDEV-22722 Assertion "inited==NONE" failed in handler::ha_index_init on the slave during UPDATE

test case only
parent 65b3c894
include/master-slave.inc
[connection master]
create table t1 (i1 int, a1 text, unique key i1 (a1)) engine=myisam;
insert into t1 values (1,1);
insert into t1 values (2,2);
update t1 set a1 = 'd' limit 1;
update t1 set a1 = 'd2' where i1= 2;
connection slave;
connection slave;
connection master;
drop table t1;
include/rpl_end.inc
#
# Long unique bugs related to master slave replication
#
#
# MDEV-22722 Assertion "inited==NONE" failed in handler::ha_index_init on the slave during UPDATE
#
--source include/have_binlog_format_row.inc
--source include/master-slave.inc
create table t1 (i1 int, a1 text, unique key i1 (a1)) engine=myisam;
insert into t1 values (1,1);
insert into t1 values (2,2);
update t1 set a1 = 'd' limit 1;
update t1 set a1 = 'd2' where i1= 2;
sync_slave_with_master;
connection slave;
connection master;
drop table t1;
--source include/rpl_end.inc
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment