mysql2 3.2.3 → 3.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -138,7 +138,7 @@ class ServerHandshake extends Command {
|
|
|
138
138
|
break;
|
|
139
139
|
case CommandCode.FIELD_LIST:
|
|
140
140
|
if (connection.listeners('field_list').length) {
|
|
141
|
-
const table = packet.readNullTerminatedString();
|
|
141
|
+
const table = packet.readNullTerminatedString(encoding);
|
|
142
142
|
const fields = packet.readString(undefined, encoding);
|
|
143
143
|
connection.emit('field_list', table, fields);
|
|
144
144
|
} else {
|