diff options
author | unknown <timour@askmonty.org> | 2012-08-21 15:24:43 +0300 |
---|---|---|
committer | unknown <timour@askmonty.org> | 2012-08-21 15:24:43 +0300 |
commit | 80b3f7470536503ffe1103dda3dea3f29b7c9641 (patch) | |
tree | 229f68dddbf924e3ec729ebd0adfb9c25b317466 /mysql-test/r/subselect_no_scache.result | |
parent | a45c451e4002875187a40ec17e872d3b69a3452a (diff) | |
download | mariadb-git-80b3f7470536503ffe1103dda3dea3f29b7c9641.tar.gz |
Fix bug mdev-447: Wrong output from the EXPLAIN command of the test case for lp bug #714999
The fix backports from MWL#182: Explain running statements the logic that
saves the original JOIN_TAB array of a query plan after optimization. This
array is later used during EXPLAIN to iterate over the original JOIN plan
nodes in the cases when this plan could be changed by early subquery
execution during the optimization phase of the outer query.
Diffstat (limited to 'mysql-test/r/subselect_no_scache.result')
-rw-r--r-- | mysql-test/r/subselect_no_scache.result | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/r/subselect_no_scache.result b/mysql-test/r/subselect_no_scache.result index 1fde0d08d7e..d47aa956ead 100644 --- a/mysql-test/r/subselect_no_scache.result +++ b/mysql-test/r/subselect_no_scache.result @@ -4202,7 +4202,7 @@ INSERT INTO t1 VALUES (1,1),(2,1); EXPLAIN SELECT 1 FROM t1 WHERE a = (SELECT COUNT(*) FROM t1 GROUP BY b); id select_type table type possible_keys key key_len ref rows Extra 1 PRIMARY t1 ref a a 5 const 1 Using where; Using index -2 SUBQUERY internal_tmp_table ALL group_key NULL NULL NULL 1 Using temporary; Using filesort +2 SUBQUERY t1 ALL NULL NULL NULL NULL 2 Using temporary; Using filesort DROP TABLE t1; CREATE TABLE t1 (id int NOT NULL, st CHAR(2), INDEX idx(id)); INSERT INTO t1 VALUES |