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

Added "utf8mb3_czech_ci" collation, fixed missing collation check for enum/set #1803

Merged
merged 1 commit into from
May 31, 2023

Conversation

Hydrocharged
Copy link
Contributor

Fixes #1801
Adds the requested collation, and fixes the panic. The panic came from an oversight when checking for a collation's implementation. enum and set use the collation during type creation, which occurs before we've verified the collation's implementation. The other string types do not use the collation during type creation, so we return the appropriate error as a result.

@Hydrocharged Hydrocharged requested a review from fulghum May 31, 2023 00:47
Copy link
Contributor

@fulghum fulghum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! 🚢

@Hydrocharged Hydrocharged merged commit 59a1d3a into main May 31, 2023
7 checks passed
@Hydrocharged Hydrocharged deleted the daylon/missing-collation branch May 31, 2023 22:27
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

Successfully merging this pull request may close these issues.

Creating an enum column with collation utf8_czech_ci causes panic
2 participants