summaryrefslogtreecommitdiff
path: root/mysql-test/r/delete.result
diff options
context:
space:
mode:
authorunknown <igor@rurik.mysql.com>2005-02-15 21:03:17 -0800
committerunknown <igor@rurik.mysql.com>2005-02-15 21:03:17 -0800
commit968e06a8040f87527ca54035b4e07ee69eda6083 (patch)
treef7e7b5491b05505e760919786421c7385a3a7e0b /mysql-test/r/delete.result
parent69a6d4da0b778d231396a40ac9d696b9f0dacc27 (diff)
parentd6157becb314900350d6f5589eaca7ce85741acf (diff)
downloadmariadb-git-968e06a8040f87527ca54035b4e07ee69eda6083.tar.gz
Manual merge
mysql-test/t/delete.test: Auto merged sql/sql_delete.cc: Auto merged
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;