diff options
author | unknown <monty@hundin.mysql.fi> | 2001-11-08 22:30:27 +0200 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2001-11-08 22:30:27 +0200 |
commit | 30052a4901705efb493829b366e7693cfa42cc90 (patch) | |
tree | b588a19366ea8358f0ee2974d009bbf6b14a3e20 /mysql-test/r/update.result | |
parent | b70dea90b72a620d312ed0e45e530485f504f191 (diff) | |
download | mariadb-git-30052a4901705efb493829b366e7693cfa42cc90.tar.gz |
Fixed bug in UPDATE .. ORDER BY
Docs/manual.texi:
Changelog
mysql-test/r/update.result:
Test found bug in UPDATE .. ORDER BY
mysql-test/t/update.test:
Test found bug in UPDATE .. ORDER BY
Diffstat (limited to 'mysql-test/r/update.result')
-rw-r--r-- | mysql-test/r/update.result | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/r/update.result b/mysql-test/r/update.result index 4fa1f3513b2..436f837ab68 100644 --- a/mysql-test/r/update.result +++ b/mysql-test/r/update.result @@ -102,3 +102,13 @@ select status from t1; status 1 drop table t1; +create table t1 (a int not null, b int not null); +insert into t1 values (1,1),(1,2),(1,3); +update t1 set b=4 where a=1 order by b asc limit 1; +update t1 set b=4 where a=1 order by b desc limit 1; +select * from t1; +a b +1 4 +1 4 +1 2 +drop table t1; |