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

Cannot parse queries containing MySql charset literals #664

Closed
gooh opened this issue Aug 24, 2018 · 4 comments
Closed

Cannot parse queries containing MySql charset literals #664

gooh opened this issue Aug 24, 2018 · 4 comments

Comments

@gooh
Copy link

gooh commented Aug 24, 2018

Actual Behavior

The query cannot be parsed.

Expected Behavior

The query can be parsed

Steps to Reproduce the Problem

Try parsing SELECT foo FROM bar WHERE (foo.something NOT IN (_utf8'984711'))
Then remove the prefix _utf8 and try again.

Specifications

relevant docs: https://dev.mysql.com/doc/refman/8.0/en/charset-literal.html

@CodingFabian
Copy link

this looks surprisingly like #659

@wumpz
Copy link
Member

wumpz commented Aug 24, 2018

#659 does add a fixed set of one or two character prefixes.

@sivaraam
Copy link
Contributor

sivaraam commented Sep 6, 2019

This seems to be fixed in fe28e88.

@wumpz
Copy link
Member

wumpz commented Sep 6, 2019

Indeed it is fixed. I forgot to close it.

@wumpz wumpz closed this as completed Sep 6, 2019
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

4 participants