Skip to content

Cannot parse queries containing MySql charset literals #664

Description

@gooh

Actual Behavior

The query cannot be parsed.

Expected Behavior

The query can be parsed

Steps to Reproduce the Problem

Try parsing SELECT foo FROM bar WHERE (foo.something NOT IN (_utf8'984711'))
Then remove the prefix _utf8 and try again.

Specifications

relevant docs: https://dev.mysql.com/doc/refman/8.0/en/charset-literal.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions