mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
A little bit improved test case
This commit is contained in:
@ -1086,7 +1086,7 @@ UPDATE t1,t2 SET t1.id=t1.id+1, t2.t1_id=t1.id+1;
|
|||||||
SELECT * from t1;
|
SELECT * from t1;
|
||||||
id
|
id
|
||||||
2
|
2
|
||||||
UPDATE t1,t2 SET t1.id=t1.id+1;
|
UPDATE t1,t2 SET t1.id=t1.id+1 where t1.id!=t2.id;
|
||||||
SELECT * from t1;
|
SELECT * from t1;
|
||||||
id
|
id
|
||||||
3
|
3
|
||||||
|
@ -723,6 +723,6 @@ INSERT INTO t2 VALUES(1, 1);
|
|||||||
SELECT * from t1;
|
SELECT * from t1;
|
||||||
UPDATE t1,t2 SET t1.id=t1.id+1, t2.t1_id=t1.id+1;
|
UPDATE t1,t2 SET t1.id=t1.id+1, t2.t1_id=t1.id+1;
|
||||||
SELECT * from t1;
|
SELECT * from t1;
|
||||||
UPDATE t1,t2 SET t1.id=t1.id+1;
|
UPDATE t1,t2 SET t1.id=t1.id+1 where t1.id!=t2.id;
|
||||||
SELECT * from t1;
|
SELECT * from t1;
|
||||||
DROP TABLE IF EXISTS t1,t2;
|
DROP TABLE IF EXISTS t1,t2;
|
||||||
|
Reference in New Issue
Block a user