Comparing version 0.8.11 to 0.8.12
@@ -47,9 +47,9 @@ "handshake handshake_response query resultset_header column_definition text_row binary_row prepare_statement prepared_statement_header execute".split(' ').forEach(function(name) { | ||
module.exports.Error.toPacket = function(args) { | ||
var packet = new Packet(0, new Buffer(9 + Buffer.byteLength(args.message, 'utf8'))); | ||
var packet = new Packet(0, new Buffer(13 + Buffer.byteLength(args.message, 'utf8'))); | ||
packet.offset = 4; | ||
packet.writeInt8(0xff); | ||
packet.writeInt16(args.code); | ||
packet.writeString('#______'); | ||
packet.writeString('#_____'); | ||
packet.writeString(args.message); | ||
return packet; | ||
}; |
{ | ||
"name": "mysql2", | ||
"version": "0.8.11", | ||
"version": "0.8.12", | ||
"description": "fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package