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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mysql2",
3
- "version": "3.2.3",
3
+ "version": "3.2.4",
4
4
  "description": "fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS",
5
5
  "main": "index.js",
6
6
  "directories": {