Skip to content

Conversation

minleejae
Copy link
Contributor

Summary
This PR addresses the issue with #2114 to parse specific MySQL-specific features in ALTER TABLE statements, such as ENCRYPTION, AUTO_INCREMENT, and ENGINE options. Previously, these clauses were categorized as UNSPECIFIC.

Changes
Modified the parser to correctly identify and handle the ENCRYPTION option in ALTER TABLE statements.
Added support for parsing the AUTO_INCREMENT option in ALTER TABLE statements.
Implemented parsing functionality for the ENGINE option in ALTER TABLE statements.
These options are now categorized under SET_TABLE_OPTION instead of UNSPECIFIC.

References
MySQL Documentation: ALTER TABLE Partition Operations

@minleejae
Copy link
Contributor Author

I think I made a mistake during the merge stage. I will fix it soon.

@manticore-projects
Copy link
Contributor

Thank you very much @minleejae

@manticore-projects manticore-projects merged commit fee2f90 into JSQLParser:master Nov 24, 2024
2 of 3 checks passed
@minleejae minleejae deleted the feature/alter branch November 26, 2024 05:13
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