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

Add a testcase for EXPLAIN FORMAT=JSON for ROR-union index_merge.

This commit is contained in:
Sergei Petrunia
2015-02-17 18:43:22 +03:00
parent 3e2849d2a0
commit 4da7aa55f6
2 changed files with 32 additions and 0 deletions

View File

@@ -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;