Skip to content

Commit 43c49d0

Browse files
committed
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.
1 parent 9d9c60f commit 43c49d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mysql-test/suite/maria/maria.result

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -554,11 +554,11 @@ a
554554
explain select sql_big_result distinct t1.a from t1,t2 order by t2.a;
555555
id select_type table type possible_keys key key_len ref rows Extra
556556
1 SIMPLE t1 system NULL NULL NULL NULL 1 Using temporary
557-
1 SIMPLE t2 index NULL PRIMARY 4 NULL 2 Using index; Distinct
557+
1 SIMPLE t2 index NULL PRIMARY 4 NULL 2 Using index
558558
explain select distinct t1.a from t1,t2 order by t2.a;
559559
id select_type table type possible_keys key key_len ref rows Extra
560560
1 SIMPLE t1 system NULL NULL NULL NULL 1 Using temporary
561-
1 SIMPLE t2 index NULL PRIMARY 4 NULL 2 Using index; Distinct
561+
1 SIMPLE t2 index NULL PRIMARY 4 NULL 2 Using index
562562
drop table t1,t2;
563563
create table t1 (
564564
c1 varchar(32),

0 commit comments

Comments
 (0)