--source suite/xengine/include/have_xengine.inc --disable_warnings DROP TABLE IF EXISTS test_index_merge; --enable_warnings CREATE TABLE test_index_merge (id INT AUTO_INCREMENT PRIMARY KEY, c1 INT, c2 INT, c3 INT, index idx_c1c2(c1,c2), index idx_c1c3(c1,c3)) ENGINE=xengine; set session binlog_format=row; --replace_column 2 # show variables like '%log_bin%'; show variables like '%binlog_format%'; delimiter $$; CREATE PROCEDURE fill_table1(cnt int) begin declare i int default 0; repeat insert into test_index_merge(c1,c2,c3) values(100, 50, 100); set i=i+1; until i > cnt end repeat; end $$ delimiter ;$$ delimiter $$; CREATE PROCEDURE fill_table2(cnt int) begin declare i int default 0; repeat insert into test_index_merge(c1,c2,c3) values(100, 100, 50); set i=i+1; until i > cnt end repeat; end$$ delimiter ;$$ call fill_table1(1000); call fill_table2(1000); insert into test_index_merge values(5000, 100, 50, 50); update test_index_merge set id=9999 where c1=100 and c2 = 50 and c3 = 50; # Cleanup set sql_log_bin=0; DROP TABLE test_index_merge; DROP PROCEDURE fill_table1; DROP PROCEDURE fill_table2; --source suite/xengine/include/check_xengine_log_error.inc