From 5e2d08b5e89ec600f46021d99beeb2635eef4f45 Mon Sep 17 00:00:00 2001 From: Sergei Petrunia Date: Tue, 3 Oct 2023 15:40:42 +0300 Subject: [PATCH] MDEV-32335: main.partition_innodb2 fails in BB with different #rows use --replace_column for rows, as the numbers are not important. --- mysql-test/main/partition_innodb2.result | 4 ++-- mysql-test/main/partition_innodb2.test | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/mysql-test/main/partition_innodb2.result b/mysql-test/main/partition_innodb2.result index 4476eb91447..4d75b468259 100644 --- a/mysql-test/main/partition_innodb2.result +++ b/mysql-test/main/partition_innodb2.result @@ -18,7 +18,7 @@ mod(seq, 10), seq from seq_1_to_50; explain delete t1, t2 from t1, t2 where t1.a=t2.a; id select_type table type possible_keys key key_len ref rows Extra -1 SIMPLE t1 ALL NULL NULL NULL NULL 4 Using where -1 SIMPLE t2 ref a a 5 test.t1.a 1 +1 SIMPLE t1 ALL NULL NULL NULL NULL # Using where +1 SIMPLE t2 ref a a 5 test.t1.a # delete t1, t2 from t1, t2 where t1.a=t2.a; drop table t1,t2; diff --git a/mysql-test/main/partition_innodb2.test b/mysql-test/main/partition_innodb2.test index 7581c5db4ca..e2089ae3e8a 100644 --- a/mysql-test/main/partition_innodb2.test +++ b/mysql-test/main/partition_innodb2.test @@ -23,6 +23,7 @@ create table t2 ( insert into t2 select mod(seq, 10), seq from seq_1_to_50; +--replace_column 9 # explain delete t1, t2 from t1, t2 where t1.a=t2.a; delete t1, t2 from t1, t2 where t1.a=t2.a;