Loading mysql-test/t/heap_btree.test +13 −0 Original line number Diff line number Diff line Loading @@ -204,3 +204,16 @@ CREATE TABLE t1 (a INT, UNIQUE USING BTREE(a)) ENGINE=MEMORY; INSERT INTO t1 VALUES(NULL),(NULL); DROP TABLE t1; select a from t1 where a > 2; delete from t1 where a < 4; 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 order by a; select a from t1 where a > 3; delete from t1 where a >= 2; select a from t1 order by a; drop table t1; --echo End of 4.1 tests Loading
mysql-test/t/heap_btree.test +13 −0 Original line number Diff line number Diff line Loading @@ -204,3 +204,16 @@ CREATE TABLE t1 (a INT, UNIQUE USING BTREE(a)) ENGINE=MEMORY; INSERT INTO t1 VALUES(NULL),(NULL); DROP TABLE t1; select a from t1 where a > 2; delete from t1 where a < 4; 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 order by a; select a from t1 where a > 3; delete from t1 where a >= 2; select a from t1 order by a; drop table t1; --echo End of 4.1 tests