diff options
author | kaa@kaamos.(none) <> | 2008-02-13 12:12:00 +0300 |
---|---|---|
committer | kaa@kaamos.(none) <> | 2008-02-13 12:12:00 +0300 |
commit | 9f194149b85c38744670decd4e859b8574f4335b (patch) | |
tree | 32093b4d9c9eff7578d39bb14fee8bbbdcf1dc4b /mysql-test/r/range.result | |
parent | a44413741a3e1195b92ea10e394a7d2e60079fd3 (diff) | |
parent | 1a67148ccdcfe894b23e1fa022e2f246864b68df (diff) | |
download | mariadb-git-9f194149b85c38744670decd4e859b8574f4335b.tar.gz |
Merge kaamos.(none):/data/src/opt/mysql-5.0-opt
into kaamos.(none):/data/src/opt/mysql-5.1-opt
Diffstat (limited to 'mysql-test/r/range.result')
-rw-r--r-- | mysql-test/r/range.result | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/r/range.result b/mysql-test/r/range.result index 92db6d8429f..3a22a38074f 100644 --- a/mysql-test/r/range.result +++ b/mysql-test/r/range.result @@ -1167,3 +1167,16 @@ explain select * from t2 where a=1000 and b<11; id select_type table type possible_keys key key_len ref rows Extra 1 SIMPLE t2 ref a a 5 const 502 Using where drop table t1, t2; +CREATE TABLE t1 ( +a varchar(32), index (a) +) DEFAULT CHARSET=latin1 COLLATE=latin1_bin; +INSERT INTO t1 VALUES +('B'), ('A'), ('A'), ('C'), ('B'), ('A'), ('A'); +SELECT a FROM t1 WHERE a='b' OR a='B'; +a +B +B +EXPLAIN SELECT a FROM t1 WHERE a='b' OR a='B'; +id select_type table type possible_keys key key_len ref rows Extra +1 SIMPLE t1 range a a 35 NULL 3 Using where; Using index +DROP TABLE t1; |