mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 14:02:32 +01:00
refs #5733 fix index vs range scan test result files
git-svn-id: file:///svn/mysql/tests/mysql-test@50609 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
acc70f366b
commit
af11dedf40
1 changed files with 8 additions and 8 deletions
|
@ -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 5234 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 5234 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 5234 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 5234 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 5234 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 5234 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 3998 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 3998 Using where
|
||||
1 SIMPLE t range PRIMARY PRIMARY 8 NULL # Using where
|
||||
drop table t;
|
||||
|
|
Loading…
Reference in a new issue