diff options
author | unknown <timour@askmonty.org> | 2011-11-09 15:36:25 +0200 |
---|---|---|
committer | unknown <timour@askmonty.org> | 2011-11-09 15:36:25 +0200 |
commit | 511459bd143262a9f154048d3bd87d8cb5239e52 (patch) | |
tree | e5891f132ba37a5ae011652c05a193f64d81ba5b /mysql-test/r/group_by.result | |
parent | 250bc599bf584ea057edd3de0a4cb0420bc92951 (diff) | |
download | mariadb-git-511459bd143262a9f154048d3bd87d8cb5239e52.tar.gz |
Enable subquery materialization=ON by default.
Diffstat (limited to 'mysql-test/r/group_by.result')
-rw-r--r-- | mysql-test/r/group_by.result | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mysql-test/r/group_by.result b/mysql-test/r/group_by.result index 8bb3ad9c250..547fc210fcd 100644 --- a/mysql-test/r/group_by.result +++ b/mysql-test/r/group_by.result @@ -1543,7 +1543,8 @@ EXPLAIN SELECT 1 FROM t1 WHERE a IN (SELECT a FROM t1 USE INDEX (i2) IGNORE INDEX (i2)); id select_type table type possible_keys key key_len ref rows Extra 1 PRIMARY t1 index PRIMARY,i2 PRIMARY 4 NULL 144 Using index -1 PRIMARY t1 ALL NULL NULL NULL NULL 144 Using where; FirstMatch(t1) +1 PRIMARY <subquery2> eq_ref distinct_key distinct_key 4 func 1 +2 SUBQUERY t1 ALL NULL NULL NULL NULL 144 CREATE TABLE t2 (a INT, b INT, KEY(a)); INSERT INTO t2 VALUES (1, 1), (2, 2), (3,3), (4,4); EXPLAIN SELECT a, SUM(b) FROM t2 GROUP BY a LIMIT 2; |