Debian Codegraph @

mysql-test/suite/versioning/t/rpl_mix.test

raw
1 --source include/have_binlog_format_mixed.inc
2 --source include/master-slave.inc
3
4 #
5 # MDEV-15405 Mixed replication fails with "Could not execute Delete_rows_v1 event" upon DELETE HISTORY
6 #
7
8 CREATE TABLE t1 (pk INT PRIMARY KEY, i INT) WITH SYSTEM VERSIONING;
9 INSERT INTO t1 VALUES (1,10),(2,20);
10 UPDATE t1 SET i = 100;
11 # This is to imitiate any real-life situation which causes a switch to row format
12 SET BINLOG_FORMAT= ROW;
13 DELETE HISTORY FROM t1;
14 --sync_slave_with_master
15
16 connection master;
17 drop table t1;
18
19 --source rpl_common.inc