You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
The following query triggers an error:
CREATE TABLE t0(c1 NUMERIC CHECK (true));
This is the error message:
Column check constraint 't0_chk_1' references other column.
A true predicate means no value will violate this constraint. This query can triggers this error in MySQL, and MySQL verified this is a bug. https://bugs.mysql.com/bug.php?id=111421
2. What did you expect to see? (Required)
No error.
3. What did you see instead (Required)
Column check constraint 't0_chk_1' references other column.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
The following query triggers an error:
This is the error message:
A
true
predicate means no value will violate this constraint. This query can triggers this error in MySQL, and MySQL verified this is a bug.https://bugs.mysql.com/bug.php?id=111421
2. What did you expect to see? (Required)
No error.
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: