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

False positive for incompatible schema change on non-ff merge when indexes on overlapping columns exist #8822

Open
zachmu opened this issue Feb 5, 2025 · 0 comments

Comments

@zachmu
Copy link
Member

zachmu commented Feb 5, 2025

This happens on any non-fast-forward merge when there is more than one index defined on the same column. Repro here:

#8821

MySQL considers UNIQUE constraints distinct from indexes and allows you to create an index and a unique key on the same column, so we have to support this kind of schema.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant