Skip to content

Check logic in IsVariableName #195

@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

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions