1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

EXPLAIN FORMAT=JSON: Support "range checked for each record"

This commit is contained in:
Sergei Petrunia
2014-12-06 02:23:37 +03:00
parent 9cac7649ea
commit a80a797686
5 changed files with 82 additions and 15 deletions

View File

@@ -145,6 +145,11 @@ set optimizer_switch='mrr=on,mrr_sort_keys=on';
explain format=json select * from t1 where a < 3;
--echo # 'Range checked for each record'
set optimizer_switch=@tmp;
explain format=json
select * from t1 tbl1, t1 tbl2 where tbl2.a < tbl1.b;
drop table t1;
drop table t0;