diff options
author | Alexander Nozdrin <alik@sun.com> | 2010-03-01 12:39:44 +0300 |
---|---|---|
committer | Alexander Nozdrin <alik@sun.com> | 2010-03-01 12:39:44 +0300 |
commit | 5867d275a39f4253e7401a034c50d3d169879853 (patch) | |
tree | c9c3978afa21ee1f05cc50ff5b86a8ab31ec80ee /mysql-test/t/innodb_mysql.test | |
parent | 1db438506fad262d0a4a535c919a6ce8d78b28d3 (diff) | |
parent | 84766b060a09ae3709fcd17cadc16c982c0d3a78 (diff) | |
download | mariadb-git-5867d275a39f4253e7401a034c50d3d169879853.tar.gz |
Manual merge from mysql-trunk-merge.
Conflicts:
- sql/share/Makefile.am
Diffstat (limited to 'mysql-test/t/innodb_mysql.test')
-rw-r--r-- | mysql-test/t/innodb_mysql.test | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/t/innodb_mysql.test b/mysql-test/t/innodb_mysql.test index dfc3f0e590f..b5dec54bed2 100644 --- a/mysql-test/t/innodb_mysql.test +++ b/mysql-test/t/innodb_mysql.test @@ -545,6 +545,18 @@ CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=innodb ; SELECT 1 FROM t1 JOIN t1 a USING(a) GROUP BY t1.a,t1.a; DROP TABLE t1; +--echo # +--echo # Bug#50843: Filesort used instead of clustered index led to +--echo # performance degradation. +--echo # +create table t1(f1 int not null primary key, f2 int) engine=innodb; +create table t2(f1 int not null, key (f1)) engine=innodb; +insert into t1 values (1,1),(2,2),(3,3); +insert into t2 values (1),(2),(3); +explain select t1.* from t1 left join t2 using(f1) group by t1.f1; +drop table t1,t2; +--echo # + --echo End of 5.1 tests |