Constraint check name uses wrong error code #48040
Labels
compatibility-mysql8
This is a compatibility issue with MySQL 8.0(but NOT 5.7)
severity/minor
sig/sql-infra
SIG: SQL Infra
type/bug
The issue is confirmed as a bug.
Bug Report
In MySQL error 3822 is used for duplicate check constraint names, but TiDB uses 1061.
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
MySQL 8.2.0
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: