Skip to content

Commit ac7fe8b

Browse files
committed
fix main.selectivity_notembedded --view
1 parent 0a3452c commit ac7fe8b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mysql-test/main/selectivity_notembedded.test

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ where
245245
pk in (1,2,3,4,5) and
246246
key1 <= 4;
247247

248+
--disable_view_protocol
248249
--echo # 11.0+ will not attempt to use selectivity(key1):
249250
select
250251
json_detailed(json_extract(trace,'$**.selectivity_for_indexes')) as JS
@@ -256,6 +257,7 @@ select
256257
json_detailed(json_extract(trace,'$**.best_access_path')) as JS
257258
from
258259
information_schema.optimizer_trace;
260+
--enable_view_protocol
259261

260262
drop table t1;
261263
--echo #

0 commit comments

Comments
 (0)