diff options
author | monty@mashka.mysql.fi <> | 2003-09-12 04:18:07 +0300 |
---|---|---|
committer | monty@mashka.mysql.fi <> | 2003-09-12 04:18:07 +0300 |
commit | 04c43fca8e91f5cb0081b10512b31f514b9557b0 (patch) | |
tree | d50c5c2c1a243241a31006d775628dd2fcc29a03 /mysql-test/r/range.result | |
parent | 7538242e4f410f6e0586dfc6024e975e766aa4f5 (diff) | |
download | mariadb-git-04c43fca8e91f5cb0081b10512b31f514b9557b0.tar.gz |
Optimize thai character handling
Remove sel000xxxx tests
After merge fixes
Diffstat (limited to 'mysql-test/r/range.result')
-rw-r--r-- | mysql-test/r/range.result | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/mysql-test/r/range.result b/mysql-test/r/range.result index ec090cf4b94..9f76676ee1a 100644 --- a/mysql-test/r/range.result +++ b/mysql-test/r/range.result @@ -265,11 +265,24 @@ INSERT INTO t1 VALUES (0),(0),(1),(1); CREATE TABLE t2 (keya int(11) NOT NULL default '0', KEY j1 (keya)); INSERT INTO t2 VALUES (0),(0),(1),(1),(2),(2); explain select * from t1, t2 where (t1.key1 <t2.keya + 1) and t2.keya=3; -table type possible_keys key key_len ref rows Extra -t2 ref j1 j1 4 const 1 Using where; Using index -t1 ALL i1,i2 NULL NULL NULL 4 Range checked for each record (index map: 3) +id select_type table type possible_keys key key_len ref rows Extra +1 SIMPLE t2 ref j1 j1 4 const 1 Using where; Using index +1 SIMPLE t1 ALL i1,i2 NULL NULL NULL 4 Range checked for each record (index map: 3) explain select * from t1 force index(i2), t2 where (t1.key1 <t2.keya + 1) and t2.keya=3; -table type possible_keys key key_len ref rows Extra -t2 ref j1 j1 4 const 1 Using where; Using index -t1 ALL i2 NULL NULL NULL 4 Range checked for each record (index map: 2) +id select_type table type possible_keys key key_len ref rows Extra +1 SIMPLE t2 ref j1 j1 4 const 1 Using where; Using index +1 SIMPLE t1 ALL i2 NULL NULL NULL 4 Range checked for each record (index map: 2) DROP TABLE t1,t2; +create table t1 (id int(10) primary key); +insert into t1 values (1),(2),(3),(4),(5),(6),(7),(8),(9); +select id from t1 where id in (2,5,9) ; +id +2 +5 +9 +select id from t1 where id=2 or id=5 or id=9 ; +id +2 +5 +9 +drop table t1; |