From 06eaf7232e9a920468c0f8d74dcf2fe8b555501c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 14:24:36 +0200 Subject: Adding upstream version 1:10.11.6. Signed-off-by: Daniel Baumann --- mysql-test/suite/rpl/t/rpl_000010.test | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 mysql-test/suite/rpl/t/rpl_000010.test (limited to 'mysql-test/suite/rpl/t/rpl_000010.test') diff --git a/mysql-test/suite/rpl/t/rpl_000010.test b/mysql-test/suite/rpl/t/rpl_000010.test new file mode 100644 index 00000000..9ff2d6c5 --- /dev/null +++ b/mysql-test/suite/rpl/t/rpl_000010.test @@ -0,0 +1,22 @@ +# This tests the offset off by 22 mystery bug +# Must run slave with --disconnect-slave-event-count=1 --master-connect-retry=1 + +source include/master-slave.inc; + +--connection slave +--source include/stop_slave.inc +CHANGE MASTER TO MASTER_USE_GTID=NO; +--source include/start_slave.inc +--connection master + +create table t1 (n int not null auto_increment primary key); +insert into t1 values(NULL); +insert into t1 values(2); +sync_slave_with_master; +select n from t1; +connection master; +drop table t1; +sync_slave_with_master; + +# End of 4.1 tests +--source include/rpl_end.inc -- cgit v1.2.3