1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Corrected the test case of MDEV-25714 in order to have the same EXPLAIN output as in 10.3

This commit is contained in:
Igor Babaev
2021-06-03 20:43:04 -07:00
parent 0b797130c6
commit 385f4316c3
2 changed files with 8 additions and 0 deletions

View File

@ -166,6 +166,8 @@ create table t3 (
index idx1 (userid, itemid), index idx2 (itemid)
) engine innodb;
insert into t3 values (1,1,1), (2,1,1), (3,2,1), (4,2,1), (5,3,1);
set use_stat_tables='never';
set optimizer_use_condition_selectivity=1;
analyze table t1,t2,t3;
let $q=
@ -185,5 +187,7 @@ eval $q;
drop table t1,t2,t3;
set optimizer_switch='split_materialized=default';
set use_stat_tables=default;
set optimizer_use_condition_selectivity=default;
--echo # End of 10.3 tests