diff options
author | Sergei Petrunia <psergey@askmonty.org> | 2014-12-06 02:23:37 +0300 |
---|---|---|
committer | Sergei Petrunia <psergey@askmonty.org> | 2014-12-06 02:23:37 +0300 |
commit | a80a797686e72644e0ad479fdfd2a3b56c4ddf05 (patch) | |
tree | 23bc5442b16cfa432e0ae940f14ffa748aff43e5 /mysql-test/r/explain_json.result | |
parent | 9cac7649eade35f2e5a52e4107067701de315abc (diff) | |
download | mariadb-git-a80a797686e72644e0ad479fdfd2a3b56c4ddf05.tar.gz |
EXPLAIN FORMAT=JSON: Support "range checked for each record"
Diffstat (limited to 'mysql-test/r/explain_json.result')
-rw-r--r-- | mysql-test/r/explain_json.result | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/mysql-test/r/explain_json.result b/mysql-test/r/explain_json.result index 42c273e7209..c9b65282047 100644 --- a/mysql-test/r/explain_json.result +++ b/mysql-test/r/explain_json.result @@ -691,5 +691,31 @@ EXPLAIN } } } +# 'Range checked for each record' +set optimizer_switch=@tmp; +explain format=json +select * from t1 tbl1, t1 tbl2 where tbl2.a < tbl1.b; +EXPLAIN +{ + "query_block": { + "select_id": 1, + "table": { + "table_name": "tbl1", + "access_type": "ALL", + "rows": 100, + "filtered": 100 + }, + "range-checked-for-each-record": { + "keys": ["a"], + "table": { + "table_name": "tbl2", + "access_type": "ALL", + "possible_keys": ["a"], + "rows": 100, + "filtered": 100 + } + } + } +} drop table t1; drop table t0; |