summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <serg@serg.mysql.com>2001-04-09 15:37:19 +0200
committerunknown <serg@serg.mysql.com>2001-04-09 15:37:19 +0200
commit9ba069761a280bf319664a9229feadb0cd676b22 (patch)
tree157a9fc3e3d0e9bf2a72cda5b69d90871e63f838 /mysql-test
parentcb2fe473f274c87f9adb39438d76edd598ad7771 (diff)
downloadmariadb-git-9ba069761a280bf319664a9229feadb0cd676b22.tar.gz
This won't be pushed either
mysql-test/t/handler.test: LIMIT tests sql/mysql_priv.h: HANDLER ... LIMIT added sql/sql_handler.cc: HANDLER ... LIMIT added sql/sql_parse.cc: HANDLER ... LIMIT added sql/sql_yacc.yy: HANDLER ... LIMIT added
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/t/handler.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/t/handler.test b/mysql-test/t/handler.test
index a84a574aa29..9656a28abe0 100644
--- a/mysql-test/t/handler.test
+++ b/mysql-test/t/handler.test
@@ -45,5 +45,12 @@ handler t2 read a>(18);
handler t2 read a<=(18);
handler t2 read a<(18);
+handler t2 read a first limit 5;
+handler t2 read a next limit 3;
+handler t2 read a prev limit 10;
+
+handler t2 read a>=(16) limit 4;
+handler t2 read a last limit 3;
+
handler t2 close;
drop table if exists t1;