1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +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

@ -26,8 +26,11 @@ explain select * from t2 where key1 in (1,2,3) and pk not in (1,2,3);
--echo # This should show only ranges in form "(1) <= (key1) <= (1)"
--echo # ranges over "pk" should not be constructed.
# Enable after fix MDEV-31408
--disable_view_protocol
select json_detailed(JSON_EXTRACT(trace, '$**.ranges'))
from information_schema.optimizer_trace;
--enable_view_protocol
set optimizer_trace=@tmp_21958;
drop table t2;