We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 52471ef + ae3d8da commit 0fa5282Copy full SHA for 0fa5282
lib/packets/handshake_response.js
@@ -54,7 +54,8 @@ HandshakeResponse.fromPacket = function (packet)
54
args.authToken = packet.readBuffer(authTokenLength);
55
} else {
56
args.authToken = packet.readNullTerminatedString(encoding);
57
- } if (isSet('CONNECT_WITH_DB')) {
+ }
58
+ if (isSet('CONNECT_WITH_DB')) {
59
args.database = packet.readNullTerminatedString(encoding);
60
}
61
if (isSet('PLUGIN_AUTH')) {
0 commit comments