Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The PRIMARY index is not filtered out from the TABLE_CONSTRAINTS #55253

Closed
YangKeao opened this issue Aug 7, 2024 · 0 comments · Fixed by #55255
Closed

The PRIMARY index is not filtered out from the TABLE_CONSTRAINTS #55253

YangKeao opened this issue Aug 7, 2024 · 0 comments · Fixed by #55255
Assignees
Labels
severity/major sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.

Comments

@YangKeao
Copy link
Member

YangKeao commented Aug 7, 2024

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

Run the test of gorm on TiDB. The test TestMigrateConstraint will fail.

It's caused by the similar reason of #55235 and #55156. However, it's not fixed yet, because I forgot to filter out the PRIMARY index in #55236 🤦 . Now, I hope it's fixed clearly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/major sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.
Projects
None yet
2 participants