Skip to content

SQLState #207

Closed
Closed
@alexzorin

Description

@alexzorin

Hi,

Was there a particular reason that the SQLState code is not being used as part of MySQLError? It is currently in the codebase but commented out:

    // SQL State [optional: # + 5bytes string]
    // sqlstate := string(data[pos : pos+6])

Would you be interested in a PR for this? I'd like to use this code if possible instead of MySQL's own error code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions