We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 037d5a5 commit a4b6b22Copy full SHA for a4b6b22
lib/commands/server_handshake.js
@@ -138,7 +138,7 @@ class ServerHandshake extends Command {
138
break;
139
case CommandCode.FIELD_LIST:
140
if (connection.listeners('field_list').length) {
141
- const table = packet.readNullTerminatedString();
+ const table = packet.readNullTerminatedString(encoding);
142
const fields = packet.readString(undefined, encoding);
143
connection.emit('field_list', table, fields);
144
} else {
0 commit comments