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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user