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

set names binary fails. set names 'binary' succeeds. Seems unquoted collations in MySQL are supposed to work with set names #8574

Closed
timsehn opened this issue Nov 19, 2024 · 0 comments
Assignees
Labels
bug Something isn't working customer issue good repro Easily reproducible bugs

Comments

@timsehn
Copy link
Contributor

timsehn commented Nov 19, 2024

https://dev.mysql.com/doc/refman/8.4/en/set-names.html

charset_name and collation_name may be quoted or unquoted.

$ cd test_set_names 
$ dolt init
Successfully initialized dolt data repository.
$ dolt sql -q "set names 'binary'"
$ dolt sql -q "set names binary"                 
error on line 1 for query set names binary
Error parsing SQL: 
syntax error at position 17 near 'binary'
set names binary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working customer issue good repro Easily reproducible bugs
Projects
None yet
Development

No branches or pull requests

2 participants