diff options
author | Sinisa@sinisa.nasamreza.org <> | 2002-12-25 15:07:36 +0200 |
---|---|---|
committer | Sinisa@sinisa.nasamreza.org <> | 2002-12-25 15:07:36 +0200 |
commit | 672a695f8f37da99b09180958076752231f09728 (patch) | |
tree | 7d7d23defccb62f9a5cf7a6a5a9ddc253479e2aa /mysql-test/r/update.result | |
parent | 7f304a2746923894a2d5fe1a2f1c5ad11cfe17c3 (diff) | |
download | mariadb-git-672a695f8f37da99b09180958076752231f09728.tar.gz |
bug fixes and tests ...
Diffstat (limited to 'mysql-test/r/update.result')
-rw-r--r-- | mysql-test/r/update.result | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mysql-test/r/update.result b/mysql-test/r/update.result index ba5c1c6e28f..60c975b540e 100644 --- a/mysql-test/r/update.result +++ b/mysql-test/r/update.result @@ -106,9 +106,12 @@ 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; +create table t2 (a int not null, b int not null); +insert into t2 values (1,1),(1,2),(1,3); select * from t1; a b 1 4 1 2 1 4 -drop table t1; +update t1 set b=(select distinct 1 from (select * from t2) a); +drop table t1,t2; |