mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
bug fixes and tests ...
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user