diff options
author | Sergei Petrunia <psergey@askmonty.org> | 2015-02-17 18:43:22 +0300 |
---|---|---|
committer | Sergei Petrunia <psergey@askmonty.org> | 2015-02-17 18:43:22 +0300 |
commit | 4da7aa55f6e7844d66899909d76e061426991fac (patch) | |
tree | a564865ef6baa395a2f575463cb61bf24d6b7550 /mysql-test/t/explain_json.test | |
parent | 3e2849d2a01b06a61407b00989c3f981e62dd183 (diff) | |
download | mariadb-git-4da7aa55f6e7844d66899909d76e061426991fac.tar.gz |
Add a testcase for EXPLAIN FORMAT=JSON for ROR-union index_merge.
Diffstat (limited to 'mysql-test/t/explain_json.test')
-rw-r--r-- | mysql-test/t/explain_json.test | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/t/explain_json.test b/mysql-test/t/explain_json.test index a94833f86fc..7fc1f568cec 100644 --- a/mysql-test/t/explain_json.test +++ b/mysql-test/t/explain_json.test @@ -34,6 +34,9 @@ explain format=json select * from t2 where a1<5; explain format=json select * from t2 where a1=1 or b1=2; explain format=json select * from t2 where a1=1 or (b1=2 and b2=3); +explain format=json select * from t2 where (a1=1 and a2=1) or + (b1=2 and b2=1); + --echo # Try ref access on two key components explain format=json select * from t0,t2 where t2.b1=t0.a and t2.b2=4; |