Make the heap_btree test repeatable.

This commit is contained in:
ramil/ram@mysql.com/myoffice.izhnet.ru 2006-08-14 12:59:54 +05:00
parent bc1e69d453
commit dc4b2a4f1d
2 changed files with 10 additions and 10 deletions

View File

@ -255,27 +255,27 @@ a
3
3
delete from t1 where a < 4;
select a from t1;
select a from t1 order by a;
a
insert into t1 values (2), (2), (2), (1), (1), (3), (3), (3), (3);
select a from t1 where a > 4;
a
delete from t1 where a > 4;
select a from t1;
select a from t1 order by a;
a
3
3
1
3
3
1
2
2
2
3
3
3
3
select a from t1 where a > 3;
a
delete from t1 where a >= 2;
select a from t1;
select a from t1 order by a;
a
1
1

View File

@ -172,14 +172,14 @@ create table t1(a int not null, key using btree(a)) engine=heap;
insert into t1 values (2), (2), (2), (1), (1), (3), (3), (3), (3);
select a from t1 where a > 2;
delete from t1 where a < 4;
select a from t1;
select a from t1 order by a;
insert into t1 values (2), (2), (2), (1), (1), (3), (3), (3), (3);
select a from t1 where a > 4;
delete from t1 where a > 4;
select a from t1;
select a from t1 order by a;
select a from t1 where a > 3;
delete from t1 where a >= 2;
select a from t1;
select a from t1 order by a;
drop table t1;
--echo End of 4.1 tests