bug#18487 UPDATE IGNORE not supported for unique constraint violation of...

bug#18487  UPDATE IGNORE not supported for unique constraint violation of non-primary key: updated test result
parent 34cfad64
...@@ -27,6 +27,7 @@ pk1 b c ...@@ -27,6 +27,7 @@ pk1 b c
4 1 1 4 1 1
UPDATE t1 set pk1 = 1, c = 2 where pk1 = 4; UPDATE t1 set pk1 = 1, c = 2 where pk1 = 4;
ERROR 23000: Duplicate entry '' for key '*UNKNOWN*' ERROR 23000: Duplicate entry '' for key '*UNKNOWN*'
UPDATE IGNORE t1 set pk1 = 1, c = 2 where pk1 = 4;
select * from t1 order by pk1; select * from t1 order by pk1;
pk1 b c pk1 b c
0 0 0 0 0 0
......
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