diff options
author | ram@mysql.r18.ru <> | 2003-07-04 14:41:01 +0500 |
---|---|---|
committer | ram@mysql.r18.ru <> | 2003-07-04 14:41:01 +0500 |
commit | 2927f2a293328055345d2e2c41c25be3645dadc6 (patch) | |
tree | f2909bed431ba3880cf9f96efa9676f537d8f96f /mysql-test/t/handler.test | |
parent | 52a7f956784ec147cdaf6b09419919fd901bf243 (diff) | |
download | mariadb-git-2927f2a293328055345d2e2c41c25be3645dadc6.tar.gz |
fix and test case for the bug #787: HANDLER without INDEX doesn't work with deleted rows
Diffstat (limited to 'mysql-test/t/handler.test')
-rw-r--r-- | mysql-test/t/handler.test | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/t/handler.test b/mysql-test/t/handler.test index 30746f10c62..15d2e954a95 100644 --- a/mysql-test/t/handler.test +++ b/mysql-test/t/handler.test @@ -85,3 +85,17 @@ alter table t1 type=MyISAM; handler t2 read first; drop table t1; +# +# test case for the bug #787 +# + +create table t1 (a int); +insert into t1 values (1),(2),(3),(4),(5),(6); +delete from t1 limit 2; +handler t1 open; +handler t1 read first; +handler t1 read first limit 1,1; +handler t1 read first limit 2,2; +delete from t1 limit 3; +handler t1 read first; +drop table t1; |