Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The table doesn't have many records. So it should be renamed.
- Loading branch information
Showing
2 changed files
with
14 additions
and
13 deletions.
There are no files selected for viewing
14 changes: 7 additions & 7 deletions
14
mysql-test/mroonga/wrapper/multi_range_read/r/disk_sweep.result
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,18 +1,18 @@ | ||
| DROP TABLE IF EXISTS many_records; | ||
| DROP TABLE IF EXISTS integers; | ||
| SET optimizer_switch='mrr_cost_based=off'; | ||
| CREATE TABLE many_records ( | ||
| CREATE TABLE integers ( | ||
| id INT PRIMARY KEY AUTO_INCREMENT, | ||
| value INT, | ||
| KEY (value) | ||
| ) COMMENT='engine "InnoDB"'; | ||
| INSERT INTO many_records (value) VALUES (0), (1), (2), (3); | ||
| EXPLAIN SELECT * FROM many_records | ||
| INSERT INTO integers (value) VALUES (0), (1), (2), (3); | ||
| EXPLAIN SELECT * FROM integers | ||
| WHERE value IN (0, 2); | ||
| id select_type table type possible_keys key key_len ref rows Extra | ||
| 1 SIMPLE many_records range value value 5 NULL 2 Using where; Using MRR | ||
| SELECT * FROM many_records | ||
| 1 SIMPLE integers range value value 5 NULL 2 Using where; Using MRR | ||
| SELECT * FROM integers | ||
| WHERE value IN (0, 2); | ||
| id value | ||
| 1 0 | ||
| 3 2 | ||
| DROP TABLE many_records; | ||
| DROP TABLE integers; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters