Skip to content

Check logic in IsVariableName #195

Closed
@bgrainger

Description

@bgrainger

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions