Query in transaction may return rows with same primary key column value #44200
Labels
affects-5.0
This bug affects 5.0.x versions.
affects-5.1
This bug affects 5.1.x versions.
affects-5.2
This bug affects 5.2.x versions.
affects-5.3
This bug affects 5.3.x versions.
affects-5.4
This bug affects 5.4.x versions.
affects-6.0
affects-6.1
affects-6.2
affects-6.3
affects-6.4
affects-6.5
affects-6.6
affects-7.0
affects-7.1
affects-7.5
affects-8.1
severity/major
sig/transaction
SIG:Transaction
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
This is a sub-issue of #24195 (comment)
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
MySQL 8.0.29 returns:
3. What did you see instead (Required)
Currently TiDB returns:
Since column c1 is a primary key, the query result breaks the primary key unique constraint.
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: