Skip to content

Commit 603c246

Browse files
authored
fix(query): support VECTOR packets in static parser (#3379)
1 parent 977fc7c commit 603c246

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/parsers/static_text_parser.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ function readField({ packet, type, charset, encoding, config, options }) {
5656
return packet.readLengthCodedString('ascii');
5757
case Types.GEOMETRY:
5858
return packet.parseGeometryValue();
59+
case Types.VECTOR:
60+
return packet.parseVector();
5961
case Types.JSON:
6062
// Since for JSON columns mysql always returns charset 63 (BINARY),
6163
// we have to handle it according to JSON specs and use "utf8",

0 commit comments

Comments
 (0)