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

Collation description in CREATE TABLE context fails when uppercased #5699

Closed
alecstein opened this issue Apr 5, 2023 · 2 comments · Fixed by dolthub/go-mysql-server#1708
Closed
Labels
question Further information is requested sql Issue with SQL

Comments

@alecstein
Copy link
Contributor

When defining collations in a CREATE TABLE setting:

COLLATE utf8mb4_general_ci works

but

COLLATE UTF8MB4_GENERAL_CI does not.

> Unknown collation: UTF8MB4_GENERAL_CI
@alecstein alecstein changed the title Collation description in CREATE TABLE context should be case insensitive Collation description in CREATE TABLE context fails when uppercased Apr 5, 2023
@timsehn timsehn added question Further information is requested sql Issue with SQL labels Apr 10, 2023
@timsehn
Copy link
Contributor

timsehn commented Apr 10, 2023

@Hydrocharged is this allowed in MySQL?

@Hydrocharged
Copy link
Contributor

Absolutely, we're applying case sensitivity here when we should not be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested sql Issue with SQL
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants