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
see similar discussion in sidorares/node-mysql2#1597
Currently BIT fields are always returned as single byte Buffer:
mysql/lib/protocol/packets/RowDataPacket.js
Line 107 in dc9c152
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