From 4ae5fd0b892748925b3899131adc2c192453f693 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 18 Oct 2002 09:51:46 +0300 Subject: 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 --- mysql-test/t/heap_btree.test | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mysql-test/t/heap_btree.test') diff --git a/mysql-test/t/heap_btree.test b/mysql-test/t/heap_btree.test index e4b7d8674b9..3dd22f2da03 100644 --- a/mysql-test/t/heap_btree.test +++ b/mysql-test/t/heap_btree.test @@ -42,9 +42,10 @@ alter table t1 type=myisam; explain select * from t1 where a in (869751,736494,226312,802616); 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; select * from t1 where x=1; select * from t1,t1 as t2 where t1.x=t2.y; explain select * from t1,t1 as t2 where t1.x=t2.y; -- cgit v1.2.1