Commit 638f48ad authored by Rich Prohaska's avatar Rich Prohaska

refs #5620 ignore number of rows in explain for the 2458.test

git-svn-id: file:///svn/mysql/tests/mysql-test@50755 c7de825b-a66e-492c-adef-691d508d4ae1
parent a413c5c2
......@@ -10,13 +10,13 @@ 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;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index NULL PRIMARY 4 NULL 1
1 SIMPLE t2 ref f1 f1 4 test.t1.f1 2 Using index
1 SIMPLE t1 index NULL PRIMARY 4 NULL NA
1 SIMPLE t2 ref f1 f1 4 test.t1.f1 NA Using index
alter table t1 drop primary key;
alter table t1 add clustering index (f1);
explain select t1.* from t1 left join t2 using(f1) group by t1.f1;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index NULL f1 4 NULL 1
1 SIMPLE t2 ref f1 f1 4 test.t1.f1 2 Using index
1 SIMPLE t1 index NULL f1 4 NULL NA
1 SIMPLE t2 ref f1 f1 4 test.t1.f1 NA Using index
drop table t1,t2;
#
......@@ -15,9 +15,11 @@ create table t1(f1 int not null primary key, f2 int);
create table t2(f1 int not null, key (f1));
insert into t1 values (1,1),(2,2),(3,3);
insert into t2 values (1),(2),(3);
replace_column 9 NA;
explain select t1.* from t1 left join t2 using(f1) group by t1.f1;
alter table t1 drop primary key;
alter table t1 add clustering index (f1);
replace_column 9 NA;
explain select t1.* from t1 left join t2 using(f1) group by t1.f1;
drop table t1,t2;
--echo #
......
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