summaryrefslogtreecommitdiff
path: root/mysql-test/r/handler.result
diff options
context:
space:
mode:
authorunknown <ram@mysql.r18.ru>2003-07-04 14:41:01 +0500
committerunknown <ram@mysql.r18.ru>2003-07-04 14:41:01 +0500
commita7beff5e15801ffe7ce72b4f36c5f6026b48efb4 (patch)
treef2909bed431ba3880cf9f96efa9676f537d8f96f /mysql-test/r/handler.result
parent3f810d0e906be42faeb407d1da140977725745af (diff)
downloadmariadb-git-a7beff5e15801ffe7ce72b4f36c5f6026b48efb4.tar.gz
fix and test case for the bug #787: HANDLER without INDEX doesn't work with deleted rows
mysql-test/r/handler.result: test case for the bug #787: HANDLER without INDEX doesn't work with deleted rows mysql-test/t/handler.test: test case for the bug #787: HANDLER without INDEX doesn't work with deleted rows sql/sql_handler.cc: fix for the bug #787: HANDLER without INDEX doesn't work with deleted rows
Diffstat (limited to 'mysql-test/r/handler.result')
-rw-r--r--mysql-test/r/handler.result19
1 files changed, 19 insertions, 0 deletions
diff --git a/mysql-test/r/handler.result b/mysql-test/r/handler.result
index 26b3c700d59..4e0153006f8 100644
--- a/mysql-test/r/handler.result
+++ b/mysql-test/r/handler.result
@@ -148,3 +148,22 @@ alter table t1 type=MyISAM;
handler t2 read first;
ERROR 42S02: Unknown table 't2' in HANDLER
drop table t1;
+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;
+a
+3
+handler t1 read first limit 1,1;
+a
+4
+handler t1 read first limit 2,2;
+a
+5
+6
+delete from t1 limit 3;
+handler t1 read first;
+a
+6
+drop table t1;