You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

30 lines
1.1 KiB

[
{
"name": "TestCompIndexInExprCorrCol",
"cases": [
"explain select t.e in (select count(*) from t s use index(idx), t t1 where s.b = 1 and s.c in (1, 2) and s.d = t.a and s.a = t1.a) from t",
"select t.e in (select count(*) from t s use index(idx), t t1 where s.b = 1 and s.c in (1, 2) and s.d = t.a and s.a = t1.a) from t"
]
},
{
"name": "TestIndexStringIsTrueRange",
"cases": [
"explain select * from t0 where c0",
"explain select * from t0 where c0 and c0 > '123'",
"explain select * from t0 where c0 and c0 <> '123'",
"explain select * from t0 where c0 is true",
"explain select * from t0 where c0 is false",
"explain select * from t0 where c0 and c0 in ('123','456','789')",
"explain SELECT * FROM t0 WHERE ('a' != t0.c0) AND t0.c0;"
]
},
{
"name": "TestPrefixIndexMultiColDNF",
"cases": [
"select * from t2 where t='aaaa';",
"select * from t2 where t='aaaa' or t = 'a';",
"select * from t2 where t='aaaa';",
"select * from t2 where t='aaaa' or t = 'a';"
]
}
]