summaryrefslogtreecommitdiff
path: root/mysql-test/r/heap_btree.result
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2002-10-18 09:51:46 +0300
committerunknown <monty@hundin.mysql.fi>2002-10-18 09:51:46 +0300
commit4ae5fd0b892748925b3899131adc2c192453f693 (patch)
tree0dab2949d066a3b223a7d273f96e80372b4f202a /mysql-test/r/heap_btree.result
parent5d2e98ff5f29bbad52b7b57319ba0542b5d94d48 (diff)
downloadmariadb-git-4ae5fd0b892748925b3899131adc2c192453f693.tar.gz
Fixed heap_btree test to make it repeatable
mysql-test/r/heap_btree.result: Make test repeatable mysql-test/t/heap_btree.test: Make test repeatable
Diffstat (limited to 'mysql-test/r/heap_btree.result')
-rw-r--r--mysql-test/r/heap_btree.result7
1 files changed, 5 insertions, 2 deletions
diff --git a/mysql-test/r/heap_btree.result b/mysql-test/r/heap_btree.result
index 846a852738b..12d07bf6660 100644
--- a/mysql-test/r/heap_btree.result
+++ b/mysql-test/r/heap_btree.result
@@ -68,13 +68,16 @@ explain select * from t1 where a in (869751,736494,226312,802616);
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 range uniq_id uniq_id 4 NULL 4 where used; Using index
drop table t1;
-create table t1 (x int not null, y int not null, key x using BTREE (x), unique y using BTREE (y))
+create table t1 (x int not null, y int not null, key x using BTREE (x,y), unique y using BTREE (y))
type=heap;
insert into t1 values (1,1),(2,2),(1,3),(2,4),(2,5),(2,6);
+explain select * from t1 where x=1;
+id select_type table type possible_keys key key_len ref rows Extra
+1 SIMPLE t1 ref x x 4 const 1 where used
select * from t1 where x=1;
x y
-1 3
1 1
+1 3
select * from t1,t1 as t2 where t1.x=t2.y;
x y x y
1 1 1 1