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

Missing support for COLLATE inside WHERE #491

Closed
BackEndTea opened this issue Aug 11, 2023 · 3 comments · Fixed by #494
Closed

Missing support for COLLATE inside WHERE #491

BackEndTea opened this issue Aug 11, 2023 · 3 comments · Fixed by #494
Assignees
Milestone

Comments

@BackEndTea
Copy link
Contributor

BackEndTea commented Aug 11, 2023

The following query results in 3 unexpected token errors, and 1 unrecognized keyword.

Is this intentional that this is considered an error?

SELECT  1
FROM   my_table
WHERE   first_col = ?
AND     second_col COLLATE utf8_bin = ?

Without the COLLATE everything is fine:

SELECT  1
FROM   my_table
WHERE   first_col = ?
AND     second_col = ?
@williamdes
Copy link
Member

Hi,
It's probably something to be fixed or added for COLLATE

@BackEndTea
Copy link
Contributor Author

I'll give this a try to fix

@williamdes williamdes self-assigned this Aug 12, 2023
@williamdes williamdes added this to the 5.9.0 milestone Aug 12, 2023
williamdes added a commit that referenced this issue Aug 12, 2023
Pull-request: #494

Signed-off-by: William Desportes <williamdes@wdes.fr>
@williamdes
Copy link
Member

The PR description should have closed it at merge time 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants