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

fix show create database to actually show charset/collation #2418

Merged
merged 1 commit into from Mar 28, 2024
Merged

Conversation

jycor
Copy link
Contributor

@jycor jycor commented Mar 27, 2024

This PR fixes the SHOW CREATE DATABASE ... statement to actually show the charset/collation that the db is under instead of always default.
Additionally, this PR parses the charset database option, instead of ignoring it like before.

partially fixes: dolthub/dolt#7651

@jycor jycor changed the title fix show create database to actually show charset/collation fix show create database to actually show charset/collation Mar 27, 2024
Copy link
Contributor

@Hydrocharged Hydrocharged left a comment

Choose a reason for hiding this comment

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

LGTM!

@jycor jycor merged commit 6aa6537 into main Mar 28, 2024
8 checks passed
@jycor jycor deleted the james/db branch March 28, 2024 17:55
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.

set global character_set_server not working the same way in MySQL, may lead inconsistency
2 participants