clustered string primary with dup prefixed uk, insert ignore ... on duplicate key update return wrong result #25809
Labels
affects-4.0
This bug affects 4.0.x versions.
affects-5.0
This bug affects 5.0.x versions.
severity/critical
sig/transaction
SIG:Transaction
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
mysql> insert ignore into tbl_16 values ( 'lalozlkdosasfklmflo' ) on duplicate key update col_70 = 'lyhohxtby';
Query OK, 2 rows affected (0.00 sec)
3. What did you see instead (Required)
only occur in 5.0-release, master is the same as expected
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: