mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
14 lines
578 B
Text
14 lines
578 B
Text
--source include/not_embedded.inc
|
|
--source include/have_ucs2.inc
|
|
|
|
create or replace table t1 (col1 char(10) character set ucs2, filler char(100), key(col1)) ;
|
|
insert into t1 values ('a', 'a');
|
|
insert into t1 values ('a', 'a');
|
|
set optimizer_trace=1;
|
|
--source include/explain-no-costs.inc
|
|
explain format=json select * from t1 force index(col1) where col1 >='a';
|
|
# Enable after fix MDEV-31408
|
|
--disable_view_protocol
|
|
select JSON_DETAILED(JSON_EXTRACT(trace, '$**.analyzing_range_alternatives')) AS JS from INFORMATION_SCHEMA.OPTIMIZER_TRACE;
|
|
--enable_view_protocol
|
|
drop table t1;
|