mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +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
|
||||
key1 <= 4;
|
||||
|
||||
--disable_view_protocol
|
||||
--echo # 11.0+ will not attempt to use selectivity(key1):
|
||||
select
|
||||
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
|
||||
from
|
||||
information_schema.optimizer_trace;
|
||||
--enable_view_protocol
|
||||
|
||||
drop table t1;
|
||||
--echo #
|
||||
|
|
Loading…
Reference in a new issue