Update test results (checked)
This commit is contained in:
parent
97bd8d8909
commit
b6eccf51c0
@ -287,7 +287,7 @@ WHERE t1.f1 GROUP BY t1.f1));
|
|||||||
id select_type table type possible_keys key key_len ref rows Extra
|
id select_type table type possible_keys key key_len ref rows Extra
|
||||||
1 PRIMARY t1 system NULL NULL NULL NULL 1
|
1 PRIMARY t1 system NULL NULL NULL NULL 1
|
||||||
2 SUBQUERY a system NULL NULL NULL NULL 1
|
2 SUBQUERY a system NULL NULL NULL NULL 1
|
||||||
2 SUBQUERY t1 fulltext f1_2,f1 f1 0 1
|
2 SUBQUERY t1 fulltext f1_2,f1 f1 0 1 Using where
|
||||||
PREPARE stmt FROM
|
PREPARE stmt FROM
|
||||||
'EXPLAIN SELECT 1 FROM t1
|
'EXPLAIN SELECT 1 FROM t1
|
||||||
WHERE 1 > ALL((SELECT t1.f1 FROM t1 RIGHT OUTER JOIN t1 a
|
WHERE 1 > ALL((SELECT t1.f1 FROM t1 RIGHT OUTER JOIN t1 a
|
||||||
@ -297,12 +297,12 @@ EXECUTE stmt;
|
|||||||
id select_type table type possible_keys key key_len ref rows Extra
|
id select_type table type possible_keys key key_len ref rows Extra
|
||||||
1 PRIMARY t1 system NULL NULL NULL NULL 1
|
1 PRIMARY t1 system NULL NULL NULL NULL 1
|
||||||
2 SUBQUERY a system NULL NULL NULL NULL 1
|
2 SUBQUERY a system NULL NULL NULL NULL 1
|
||||||
2 SUBQUERY t1 fulltext f1_2,f1 f1 0 1
|
2 SUBQUERY t1 fulltext f1_2,f1 f1 0 1 Using where
|
||||||
EXECUTE stmt;
|
EXECUTE stmt;
|
||||||
id select_type table type possible_keys key key_len ref rows Extra
|
id select_type table type possible_keys key key_len ref rows Extra
|
||||||
1 PRIMARY t1 system NULL NULL NULL NULL 1
|
1 PRIMARY t1 system NULL NULL NULL NULL 1
|
||||||
2 SUBQUERY a system NULL NULL NULL NULL 1
|
2 SUBQUERY a system NULL NULL NULL NULL 1
|
||||||
2 SUBQUERY t1 fulltext f1_2,f1 f1 0 1
|
2 SUBQUERY t1 fulltext f1_2,f1 f1 0 1 Using where
|
||||||
DEALLOCATE PREPARE stmt;
|
DEALLOCATE PREPARE stmt;
|
||||||
PREPARE stmt FROM
|
PREPARE stmt FROM
|
||||||
'EXPLAIN SELECT 1 FROM t1
|
'EXPLAIN SELECT 1 FROM t1
|
||||||
@ -313,12 +313,12 @@ EXECUTE stmt;
|
|||||||
id select_type table type possible_keys key key_len ref rows Extra
|
id select_type table type possible_keys key key_len ref rows Extra
|
||||||
1 PRIMARY t1 system NULL NULL NULL NULL 1
|
1 PRIMARY t1 system NULL NULL NULL NULL 1
|
||||||
2 SUBQUERY a system NULL NULL NULL NULL 1
|
2 SUBQUERY a system NULL NULL NULL NULL 1
|
||||||
2 SUBQUERY t1 fulltext f1_2,f1 f1 0 1
|
2 SUBQUERY t1 fulltext f1_2,f1 f1 0 1 Using where
|
||||||
EXECUTE stmt;
|
EXECUTE stmt;
|
||||||
id select_type table type possible_keys key key_len ref rows Extra
|
id select_type table type possible_keys key key_len ref rows Extra
|
||||||
1 PRIMARY t1 system NULL NULL NULL NULL 1
|
1 PRIMARY t1 system NULL NULL NULL NULL 1
|
||||||
2 SUBQUERY a system NULL NULL NULL NULL 1
|
2 SUBQUERY a system NULL NULL NULL NULL 1
|
||||||
2 SUBQUERY t1 fulltext f1_2,f1 f1 0 1
|
2 SUBQUERY t1 fulltext f1_2,f1 f1 0 1 Using where
|
||||||
DEALLOCATE PREPARE stmt;
|
DEALLOCATE PREPARE stmt;
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
End of 5.1 tests.
|
End of 5.1 tests.
|
||||||
|
@ -2403,7 +2403,7 @@ EXPLAIN SELECT 1 FROM t1 AS t1_outer WHERE
|
|||||||
(SELECT max(b) FROM t1 GROUP BY a HAVING a < 2) > 12;
|
(SELECT max(b) FROM t1 GROUP BY a HAVING a < 2) > 12;
|
||||||
id select_type table type possible_keys key key_len ref rows Extra
|
id select_type table type possible_keys key key_len ref rows Extra
|
||||||
1 PRIMARY NULL NULL NULL NULL NULL NULL NULL Impossible WHERE
|
1 PRIMARY NULL NULL NULL NULL NULL NULL NULL Impossible WHERE
|
||||||
2 SUBQUERY t1 index NULL a 10 NULL 15 Using index
|
2 SUBQUERY t1 range NULL a 5 NULL 8 Using index for group-by
|
||||||
EXPLAIN SELECT 1 FROM t1 AS t1_outer WHERE
|
EXPLAIN SELECT 1 FROM t1 AS t1_outer WHERE
|
||||||
a IN (SELECT max(b) FROM t1 GROUP BY a HAVING a < 2);
|
a IN (SELECT max(b) FROM t1 GROUP BY a HAVING a < 2);
|
||||||
id select_type table type possible_keys key key_len ref rows Extra
|
id select_type table type possible_keys key key_len ref rows Extra
|
||||||
@ -2421,7 +2421,7 @@ AND t1_outer1.b = t1_outer2.b;
|
|||||||
id select_type table type possible_keys key key_len ref rows Extra
|
id select_type table type possible_keys key key_len ref rows Extra
|
||||||
1 PRIMARY t1_outer1 ref a a 5 const 1 Using where; Using index
|
1 PRIMARY t1_outer1 ref a a 5 const 1 Using where; Using index
|
||||||
1 PRIMARY t1_outer2 index NULL a 10 NULL 15 Using where; Using index; Using join buffer (flat, BNL join)
|
1 PRIMARY t1_outer2 index NULL a 10 NULL 15 Using where; Using index; Using join buffer (flat, BNL join)
|
||||||
2 SUBQUERY t1 index NULL a 10 NULL 15 Using index
|
2 SUBQUERY t1 range NULL a 5 NULL 8 Using index for group-by
|
||||||
EXPLAIN SELECT (SELECT (SELECT max(b) FROM t1 GROUP BY a HAVING a < 2) x
|
EXPLAIN SELECT (SELECT (SELECT max(b) FROM t1 GROUP BY a HAVING a < 2) x
|
||||||
FROM t1 AS t1_outer) x2 FROM t1 AS t1_outer2;
|
FROM t1 AS t1_outer) x2 FROM t1 AS t1_outer2;
|
||||||
id select_type table type possible_keys key key_len ref rows Extra
|
id select_type table type possible_keys key key_len ref rows Extra
|
||||||
@ -2757,7 +2757,7 @@ EXPLAIN
|
|||||||
SELECT MIN( a ) FROM t1 WHERE a = (SELECT a FROM t1 WHERE a < 0);
|
SELECT MIN( a ) FROM t1 WHERE a = (SELECT a FROM t1 WHERE a < 0);
|
||||||
id select_type table type possible_keys key key_len ref rows Extra
|
id select_type table type possible_keys key key_len ref rows Extra
|
||||||
x x x x x x x x x Impossible WHERE noticed after reading const tables
|
x x x x x x x x x Impossible WHERE noticed after reading const tables
|
||||||
x x x x x x x x x Using index
|
x x x x x x x x x Using where; Using index
|
||||||
SELECT MIN( a ) FROM t1 WHERE a = (SELECT a FROM t1 WHERE a < 0);
|
SELECT MIN( a ) FROM t1 WHERE a = (SELECT a FROM t1 WHERE a < 0);
|
||||||
MIN( a )
|
MIN( a )
|
||||||
NULL
|
NULL
|
||||||
@ -2829,7 +2829,7 @@ EXPLAIN
|
|||||||
SELECT MIN( a ) FROM t1 WHERE a = (SELECT a FROM t1 WHERE a < 0);
|
SELECT MIN( a ) FROM t1 WHERE a = (SELECT a FROM t1 WHERE a < 0);
|
||||||
id select_type table type possible_keys key key_len ref rows Extra
|
id select_type table type possible_keys key key_len ref rows Extra
|
||||||
x x x x x x x x x Impossible WHERE noticed after reading const tables
|
x x x x x x x x x Impossible WHERE noticed after reading const tables
|
||||||
x x x x x x x x x Using index
|
x x x x x x x x x Using where; Using index
|
||||||
SELECT MIN( a ) FROM t1 WHERE a = (SELECT a FROM t1 WHERE a < 0);
|
SELECT MIN( a ) FROM t1 WHERE a = (SELECT a FROM t1 WHERE a < 0);
|
||||||
MIN( a )
|
MIN( a )
|
||||||
NULL
|
NULL
|
||||||
@ -2908,7 +2908,7 @@ EXPLAIN
|
|||||||
SELECT MIN( a ) FROM t1 WHERE a = (SELECT a FROM t1 WHERE a < 0);
|
SELECT MIN( a ) FROM t1 WHERE a = (SELECT a FROM t1 WHERE a < 0);
|
||||||
id select_type table type possible_keys key key_len ref rows Extra
|
id select_type table type possible_keys key key_len ref rows Extra
|
||||||
x x x x x x x x x Impossible WHERE noticed after reading const tables
|
x x x x x x x x x Impossible WHERE noticed after reading const tables
|
||||||
x x x x x x x x x Using index
|
x x x x x x x x x Using where; Using index
|
||||||
SELECT MIN( a ) FROM t1 WHERE a = (SELECT a FROM t1 WHERE a < 0);
|
SELECT MIN( a ) FROM t1 WHERE a = (SELECT a FROM t1 WHERE a < 0);
|
||||||
MIN( a )
|
MIN( a )
|
||||||
NULL
|
NULL
|
||||||
|
@ -599,7 +599,7 @@ EXPLAIN SELECT 1 FROM t1 AS t1_outer WHERE
|
|||||||
(SELECT max(b) FROM t1 GROUP BY a HAVING a < 2) > 12;
|
(SELECT max(b) FROM t1 GROUP BY a HAVING a < 2) > 12;
|
||||||
id select_type table type possible_keys key key_len ref rows Extra
|
id select_type table type possible_keys key key_len ref rows Extra
|
||||||
1 PRIMARY NULL NULL NULL NULL NULL NULL NULL Impossible WHERE
|
1 PRIMARY NULL NULL NULL NULL NULL NULL NULL Impossible WHERE
|
||||||
2 SUBQUERY t1 index NULL a 10 NULL 15 Using index
|
2 SUBQUERY t1 range NULL a 5 NULL 8 Using index for group-by
|
||||||
SELECT 1 as RES FROM t1 AS t1_outer WHERE
|
SELECT 1 as RES FROM t1 AS t1_outer WHERE
|
||||||
(SELECT max(b) FROM t1 GROUP BY a HAVING a < 2) > 12;
|
(SELECT max(b) FROM t1 GROUP BY a HAVING a < 2) > 12;
|
||||||
RES
|
RES
|
||||||
|
@ -679,7 +679,7 @@ id select_type table type possible_keys key key_len ref rows Extra
|
|||||||
1 PRIMARY t1 system NULL NULL NULL NULL 1 Using temporary
|
1 PRIMARY t1 system NULL NULL NULL NULL 1 Using temporary
|
||||||
1 PRIMARY t2 ALL NULL NULL NULL NULL 3 Distinct
|
1 PRIMARY t2 ALL NULL NULL NULL NULL 3 Distinct
|
||||||
2 SUBQUERY t3 ALL NULL NULL NULL NULL 3
|
2 SUBQUERY t3 ALL NULL NULL NULL NULL 3
|
||||||
2 SUBQUERY t2 ALL NULL NULL NULL NULL 3
|
2 SUBQUERY t2 ALL NULL NULL NULL NULL 3 Using where; Using join buffer (flat, BNL join)
|
||||||
SELECT DISTINCT a AS field1 FROM t1, t2
|
SELECT DISTINCT a AS field1 FROM t1, t2
|
||||||
WHERE EXISTS (SELECT c FROM t3 LEFT JOIN t2 ON b = d)
|
WHERE EXISTS (SELECT c FROM t3 LEFT JOIN t2 ON b = d)
|
||||||
HAVING field1 > 'aaa' LIMIT ROWS EXAMINED 20;
|
HAVING field1 > 'aaa' LIMIT ROWS EXAMINED 20;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user