diff options
author | unknown <lenz@mysql.com> | 2003-09-16 22:10:19 +0200 |
---|---|---|
committer | unknown <lenz@mysql.com> | 2003-09-16 22:10:19 +0200 |
commit | 65cf37d3fb29560badceeb980a8d825b8253ed64 (patch) | |
tree | c41a7b6c642104e80ff54d444cd60f2b5022ca0f /mysql-test/r/distinct.result | |
parent | d9167cd73b641a5d3c188bd13b33162cd60c6757 (diff) | |
parent | a3056adeb6991dd7f0987b71a590a41859ce2db8 (diff) | |
download | mariadb-git-65cf37d3fb29560badceeb980a8d825b8253ed64.tar.gz |
Merge lgrimmer@build.mysql.com:/home/bk/mysql-4.0
into mysql.com:/space/my/mysql-4.0
Diffstat (limited to 'mysql-test/r/distinct.result')
-rw-r--r-- | mysql-test/r/distinct.result | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mysql-test/r/distinct.result b/mysql-test/r/distinct.result index 1dbccb65748..da0c6a5eb72 100644 --- a/mysql-test/r/distinct.result +++ b/mysql-test/r/distinct.result @@ -173,9 +173,9 @@ INSERT INTO t2 values (1),(2),(3); INSERT INTO t3 VALUES (1,'1'),(2,'2'),(1,'1'),(2,'2'); explain SELECT distinct t3.a FROM t3,t2,t1 WHERE t3.a=t1.b AND t1.a=t2.a; table type possible_keys key key_len ref rows Extra -t3 index a a 5 NULL 6 Using index; Using temporary -t2 index a a 4 NULL 5 Using index; Distinct -t1 eq_ref PRIMARY PRIMARY 4 t2.a 1 Using where; Distinct +t2 index a a 4 NULL 5 Using index; Using temporary +t1 eq_ref PRIMARY PRIMARY 4 t2.a 1 +t3 index a a 5 NULL 5 Using where; Using index SELECT distinct t3.a FROM t3,t2,t1 WHERE t3.a=t1.b AND t1.a=t2.a; a 1 |