1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-31933: Make working view-protocol + ps-protocol (running two protocols together)

Fix for v. 10.5
This commit is contained in:
Lena Startseva
2023-08-30 12:22:07 +07:00
parent d046b13e7b
commit 090cecd5e8
11 changed files with 139 additions and 1 deletions

View File

@ -6,5 +6,8 @@ insert into t1 values ('a', 'a');
insert into t1 values ('a', 'a');
set optimizer_trace=1;
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;