Skip to content

Better type casting of BIT values #2559

Open
@sidorares

Description

@sidorares

see similar discussion in sidorares/node-mysql2#1597

Currently BIT fields are always returned as single byte Buffer:

return parser.parseLengthCodedBuffer();

I think this should be returned as a number. Might be good to coordinate both changes here in mysql2, this is potentially a breaking backwards incompatible change

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