summaryrefslogtreecommitdiff
path: root/mysql-test/r/delete.result
diff options
context:
space:
mode:
authorunknown <petr@mysql.com>2005-02-17 04:23:48 +0300
committerunknown <petr@mysql.com>2005-02-17 04:23:48 +0300
commit31bec292632fb0b77ef20804fea334474e07e326 (patch)
tree871afdbf8d17ee346faa1777e905e3e55556a91d /mysql-test/r/delete.result
parent83cce1caa4db636b34639d5f22f4b8512d6121dd (diff)
parent1fbeaf710ab4e1b8f532e82c6d304dd1be59e614 (diff)
downloadmariadb-git-31bec292632fb0b77ef20804fea334474e07e326.tar.gz
Merge mysql.com:/home/cps/mysql/trees/mysql-5.0
into mysql.com:/home/cps/mysql/devel/im-fix-review
Diffstat (limited to 'mysql-test/r/delete.result')
-rw-r--r--mysql-test/r/delete.result9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/r/delete.result b/mysql-test/r/delete.result
index f1fba87c70b..411cd52b4ca 100644
--- a/mysql-test/r/delete.result
+++ b/mysql-test/r/delete.result
@@ -163,3 +163,12 @@ select * from t1;
a b
7 7
drop table t1;
+CREATE TABLE t1 ( a int PRIMARY KEY );
+DELETE FROM t1 WHERE t1.a > 0 ORDER BY t1.a;
+INSERT INTO t1 VALUES (0),(1),(2);
+DELETE FROM t1 WHERE t1.a > 0 ORDER BY t1.a LIMIT 1;
+SELECT * FROM t1;
+a
+0
+2
+DROP TABLE t1;