Skip to content

Commit

Permalink
fix(query): support VECTOR packets in static parser (sidorares#3379)
Browse files Browse the repository at this point in the history
  • Loading branch information
wellwelwel authored Feb 5, 2025
1 parent 977fc7c commit 603c246
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/parsers/static_text_parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ function readField({ packet, type, charset, encoding, config, options }) {
return packet.readLengthCodedString('ascii');
case Types.GEOMETRY:
return packet.parseGeometryValue();
case Types.VECTOR:
return packet.parseVector();
case Types.JSON:
// Since for JSON columns mysql always returns charset 63 (BINARY),
// we have to handle it according to JSON specs and use "utf8",
Expand Down

0 comments on commit 603c246

Please sign in to comment.