mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
fix main.selectivity_notembedded --view
This commit is contained in:
parent
0a3452cf83
commit
ac7fe8b214
1 changed files with 2 additions and 0 deletions
|
@ -245,6 +245,7 @@ where
|
||||||
pk in (1,2,3,4,5) and
|
pk in (1,2,3,4,5) and
|
||||||
key1 <= 4;
|
key1 <= 4;
|
||||||
|
|
||||||
|
--disable_view_protocol
|
||||||
--echo # 11.0+ will not attempt to use selectivity(key1):
|
--echo # 11.0+ will not attempt to use selectivity(key1):
|
||||||
select
|
select
|
||||||
json_detailed(json_extract(trace,'$**.selectivity_for_indexes')) as JS
|
json_detailed(json_extract(trace,'$**.selectivity_for_indexes')) as JS
|
||||||
|
@ -256,6 +257,7 @@ select
|
||||||
json_detailed(json_extract(trace,'$**.best_access_path')) as JS
|
json_detailed(json_extract(trace,'$**.best_access_path')) as JS
|
||||||
from
|
from
|
||||||
information_schema.optimizer_trace;
|
information_schema.optimizer_trace;
|
||||||
|
--enable_view_protocol
|
||||||
|
|
||||||
drop table t1;
|
drop table t1;
|
||||||
--echo #
|
--echo #
|
||||||
|
|
Loading…
Reference in a new issue