diff options
author | unknown <igor@rurik.mysql.com> | 2005-02-15 21:03:17 -0800 |
---|---|---|
committer | unknown <igor@rurik.mysql.com> | 2005-02-15 21:03:17 -0800 |
commit | 968e06a8040f87527ca54035b4e07ee69eda6083 (patch) | |
tree | f7e7b5491b05505e760919786421c7385a3a7e0b /mysql-test/r/delete.result | |
parent | 69a6d4da0b778d231396a40ac9d696b9f0dacc27 (diff) | |
parent | d6157becb314900350d6f5589eaca7ce85741acf (diff) | |
download | mariadb-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.result | 9 |
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; |