Commit f304ec97 authored by Rich Prohaska's avatar Rich Prohaska

refs #5733 fix index vs range scan test result files

git-svn-id: file:///svn/mysql/tests/mysql-test@50608 c7de825b-a66e-492c-adef-691d508d4ae1
parent 9b5fb1e1
......@@ -10003,26 +10003,26 @@ insert into t values (9998,0);
insert into t values (9999,0);
explain select id from t where id>0 limit 10;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t range PRIMARY PRIMARY 8 NULL 9999 Using where; Using index
1 SIMPLE t range PRIMARY PRIMARY 8 NULL # Using where; Using index
explain select * from t where id>0 limit 10;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t range PRIMARY PRIMARY 8 NULL 9999 Using where
1 SIMPLE t range PRIMARY PRIMARY 8 NULL # Using where
explain select id from t where id>1000 limit 10;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t range PRIMARY PRIMARY 8 NULL 8999 Using where; Using index
1 SIMPLE t range PRIMARY PRIMARY 8 NULL # Using where; Using index
explain select * from t where id>1000 limit 10;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t range PRIMARY PRIMARY 8 NULL 8999 Using where
1 SIMPLE t range PRIMARY PRIMARY 8 NULL # Using where
explain select id from t where id>5000 limit 10;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t range PRIMARY PRIMARY 8 NULL 4999 Using where; Using index
1 SIMPLE t range PRIMARY PRIMARY 8 NULL # Using where; Using index
explain select * from t where id>5000 limit 10;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t range PRIMARY PRIMARY 8 NULL 4999 Using where
1 SIMPLE t range PRIMARY PRIMARY 8 NULL # Using where
explain select id from t where id>6000 limit 10;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t range PRIMARY PRIMARY 8 NULL 3999 Using where; Using index
1 SIMPLE t range PRIMARY PRIMARY 8 NULL # Using where; Using index
explain select * from t where id>6000 limit 10;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t range PRIMARY PRIMARY 8 NULL 3999 Using where
1 SIMPLE t range PRIMARY PRIMARY 8 NULL # Using where
drop table t;
......@@ -16,16 +16,28 @@ while ($i < $n) {
inc $i;
}
replace_column 9 #;
explain select id from t where id>0 limit 10;
replace_column 9 #;
explain select * from t where id>0 limit 10;
replace_column 9 #;
explain select id from t where id>1000 limit 10;
replace_column 9 #;
explain select * from t where id>1000 limit 10;
replace_column 9 #;
explain select id from t where id>5000 limit 10;
replace_column 9 #;
explain select * from t where id>5000 limit 10;
replace_column 9 #;
explain select id from t where id>6000 limit 10;
replace_column 9 #;
explain select * from t where id>6000 limit 10;
drop table t;
......@@ -16,16 +16,28 @@ while ($i < $n) {
inc $i;
}
replace_column 9 #;
explain select id from t where id>0 limit 10;
replace_column 9 #;
explain select * from t where id>0 limit 10;
replace_column 9 #;
explain select id from t where id>1000 limit 10;
replace_column 9 #;
explain select * from t where id>1000 limit 10;
replace_column 9 #;
explain select id from t where id>5000 limit 10;
replace_column 9 #;
explain select * from t where id>5000 limit 10;
replace_column 9 #;
explain select id from t where id>6000 limit 10;
replace_column 9 #;
explain select * from t where id>6000 limit 10;
drop table t;
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