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

v1.7.0 SET Invalid Grammar #288

Closed
rayliverified opened this issue Sep 30, 2024 · 3 comments
Closed

v1.7.0 SET Invalid Grammar #288

rayliverified opened this issue Sep 30, 2024 · 3 comments

Comments

@rayliverified
Copy link

Describe the bug
SET grammar doesn't account for CHARACTER SET and breaks when encountering that combination.

To Reproduce

CREATE TABLE `table_notes` (
  `id` int NOT NULL AUTO_INCREMENT,
  `notes` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
);

set('A', 'B', 'C') works. Set defaults also works.

@xnuinside
Copy link
Owner

facepalm I will fix it today in 1.7.1 and will add test case, thank you!

@xnuinside
Copy link
Owner

@rayliverified didn't have time in previous days, sorry for that, fix released in 1.7.1, test added #289

@rayliverified
Copy link
Author

Thank you 🥇

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

No branches or pull requests

2 participants