You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
droptable if exists t;
createtablet (a int, b int, primary key (a, b));
insert into t (1, 2);
update t t1, t t2 sett1.a=t1.a+10, t2.b=t2.b+10;
2. What did you expect to see? (Required)
In MySQL 8.0.19
mysql>update t t1, t t2 sett1.a=t1.a+10, t2.b=t2.b+10;
ERROR 1706 (HY000): Primary key/partition key update is not allowed since the table is updated both as't1'and't2'.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
In MySQL 8.0.19
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: