From 603c24630da0f999a01227d44cf2633d703e40ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Weslley=20Ara=C3=BAjo?= <46850407+wellwelwel@users.noreply.github.com> Date: Tue, 4 Feb 2025 23:29:10 -0300 Subject: [PATCH] fix(query): support `VECTOR` packets in static parser (#3379) --- lib/parsers/static_text_parser.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/parsers/static_text_parser.js b/lib/parsers/static_text_parser.js index 69a606e3f5..6a8651a577 100644 --- a/lib/parsers/static_text_parser.js +++ b/lib/parsers/static_text_parser.js @@ -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",