INSERT IGNORE
didn't lock the referenced row in parent table
#56655
Labels
INSERT IGNORE
didn't lock the referenced row in parent table
#56655
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Prepare:
Execute:
2. What did you expect to see? (Required)
The statement
UPDATE
in transaction 2 is blocked until the transaction 1COMMIT
, and it will finally return an error.3. What did you see instead (Required)
Both transactions are not blocked. The constraint is broken:
Then the constraint is not consistent:
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: