Commit 43c49d08 authored by Sergei Petrunia's avatar Sergei Petrunia

Fix maria.maria test by updating test results.

"Distinct" optimization is not used by this query (both in this tree
and in mainline 10.2). Verified this in debugger.
parent 9d9c60fb
...@@ -554,11 +554,11 @@ a ...@@ -554,11 +554,11 @@ a
explain select sql_big_result distinct t1.a from t1,t2 order by t2.a; explain select sql_big_result distinct t1.a from t1,t2 order by t2.a;
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 SIMPLE t1 system NULL NULL NULL NULL 1 Using temporary 1 SIMPLE t1 system NULL NULL NULL NULL 1 Using temporary
1 SIMPLE t2 index NULL PRIMARY 4 NULL 2 Using index; Distinct 1 SIMPLE t2 index NULL PRIMARY 4 NULL 2 Using index
explain select distinct t1.a from t1,t2 order by t2.a; explain select distinct t1.a from t1,t2 order by t2.a;
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 SIMPLE t1 system NULL NULL NULL NULL 1 Using temporary 1 SIMPLE t1 system NULL NULL NULL NULL 1 Using temporary
1 SIMPLE t2 index NULL PRIMARY 4 NULL 2 Using index; Distinct 1 SIMPLE t2 index NULL PRIMARY 4 NULL 2 Using index
drop table t1,t2; drop table t1,t2;
create table t1 ( create table t1 (
c1 varchar(32), c1 varchar(32),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment