Skip to content

Add parsing for ALTER TABLE tbl_name {DISABLE | ENABLE} KEYS #2205

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

Merged
merged 1 commit into from
Mar 25, 2025

Conversation

minleejae
Copy link
Contributor

Summary

This PR adds support for parsing ALTER TABLE tbl_name {DISABLE | ENABLE} KEYS statements in JSQLParser.

Changes

  • Updated JSqlParserCC.jjt to include parsing rules for DISABLE KEYS and ENABLE KEYS.
  • Added corresponding AlterOperation enums: DISABLE_KEYS and ENABLE_KEYS.

@manticore-projects
Copy link
Contributor

Thank you very much for your work and effort!

@manticore-projects manticore-projects merged commit 1c7c343 into JSQLParser:master Mar 25, 2025
3 of 4 checks passed
@minleejae minleejae deleted the feat/keys branch April 2, 2025 09:16
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.

2 participants