mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Merge branch 'bb-10.4-vp-MDEV-27691' into 10.4
This commit is contained in:
@ -849,7 +849,7 @@ create table t2 (c int, d int, key(c), key(d)) engine=myisam;
|
||||
insert t2 select floor(rand()*1e5/2)*2, floor(rand()*1e5/3)*3 from t1;
|
||||
|
||||
analyze table t1,t2;
|
||||
|
||||
--disable_view_protocol
|
||||
set optimizer_use_condition_selectivity=1;
|
||||
explain extended
|
||||
select * from t1, t2, t1 as t3
|
||||
@ -865,7 +865,7 @@ select * from t1, t2, t1 as t3
|
||||
--sorted_result
|
||||
select * from t1, t2, t1 as t3
|
||||
where t1.b=t2.c and t2.d=t3.a and t3.b<5 and t1.a < 2000;
|
||||
|
||||
--enable_view_protocol
|
||||
set optimizer_use_condition_selectivity=@save_optimizer_use_condition_selectivity;
|
||||
|
||||
drop table t1,t2;
|
||||
|
Reference in New Issue
Block a user