1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Many fixes.

I still have to make a test case for :

UPDATE from sub-select with derived table
This commit is contained in:
Sinisa@sinisa.nasamreza.org
2002-12-24 13:58:07 +02:00
parent 4158538dc7
commit 5988ae5ca5
9 changed files with 53 additions and 20 deletions

View File

@ -235,4 +235,19 @@ select * from t2;
n d
1 30
1 30
UPDATE t1 a ,t2 b SET t1.d=t2.d,t2.d=30 WHERE a.n=b.n;
select * from t1;
n d
1 30
3 2
select * from t2;
n d
1 30
1 30
DELETE t1, t2 FROM t1 a,t2 b where a.n=b.n;
select * from t1;
n d
3 2
select * from t2;
n d
drop table t1,t2;