A little bit improved test case

parent 40c744a3
...@@ -1086,7 +1086,7 @@ UPDATE t1,t2 SET t1.id=t1.id+1, t2.t1_id=t1.id+1; ...@@ -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); ...@@ -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;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment