Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refs #1530
- Loading branch information
Showing
2 changed files
with
30 additions
and
15 deletions.
There are no files selected for viewing
23 changes: 15 additions & 8 deletions
23
test/sql/suite/mroonga/storage/index/primary/char/r/exact_length.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,9 +1,16 @@ | ||
| drop table if exists t1; | ||
| create table t1 (c1 char(10) primary key); | ||
| insert into t1 values('abcdefghij'); | ||
| insert into t1 values('klmnopqrst'); | ||
| insert into t1 values('uvwxyz0123'); | ||
| select c1 from t1 force index(PRIMARY) where c1 = 'abcdefghij'; | ||
| c1 | ||
| DROP TABLE IF EXISTS ids; | ||
| CREATE TABLE ids ( | ||
| id char(10) CHARACTER SET latin1 PRIMARY KEY | ||
| ); | ||
| INSERT INTO ids VALUES('abcdefghij'); | ||
| INSERT INTO ids VALUES('klmnopqrst'); | ||
| INSERT INTO ids VALUES('uvwxyz0123'); | ||
| SELECT * FROM ids FORCE INDEX(PRIMARY) ORDER BY id; | ||
| id | ||
| abcdefghij | ||
| drop table t1; | ||
| klmnopqrst | ||
| uvwxyz0123 | ||
| SELECT * FROM ids FORCE INDEX(PRIMARY) WHERE id = 'abcdefghij'; | ||
| id | ||
| abcdefghij | ||
| DROP TABLE ids; |
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