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

Check logic in IsVariableName #195

Closed
bgrainger opened this issue Mar 16, 2017 · 1 comment
Closed

Check logic in IsVariableName #195

bgrainger opened this issue Mar 16, 2017 · 1 comment
Labels

Comments

@bgrainger
Copy link
Member

bgrainger commented Mar 16, 2017

MySqlParser.IsVariableName attempts to detect a legal variable name. According to User-Defined Variables:

the variable name var_name consists of alphanumeric characters, ., _, and $.

However, Schema Object Names allows "Extended: U+0080 .. U+FFFF" in unquoted identifiers.

According to #193, variable names such as are allowed by MySQL Server but not detected by IsVariableName, which may indicate a bug in the implementation.

@bgrainger
Copy link
Member Author

bgrainger commented Dec 8, 2018

Fixed in 0.48.0.

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

No branches or pull requests

1 participant