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 issue 2089: Add parsing functionality for MySQL CONVERT TO statement #2097

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

minleejae
Copy link
Contributor

Summary

This PR addresses issue #2089 by adding support for parsing the CONVERT TO CHARACTER SET clause in ALTER TABLE statements in JSQLParser. Previously, the CONVERT TO CHARACTER SET clause was incorrectly parsed as UNSPECIFIC, causing ambiguity in the interpretation of certain ALTER TABLE statements.

Changes

Updated AlterOperation enum to include CONVERT.
Modified the parser to correctly identify and handle the CONVERT TO CHARACTER SET clause. ( + Collation)

@manticore-projects
Copy link
Contributor

감사합니다 (gamsahamnida)

@manticore-projects manticore-projects merged commit dc12382 into JSQLParser:master Oct 25, 2024
3 checks passed
@minleejae minleejae deleted the feature/convert branch November 14, 2024 08:56
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.

3 participants