Comparing version 0.8.4 to 0.8.5
@@ -115,2 +115,3 @@ var Command = require('./command'); | ||
{ | ||
connection.sequenceId = 0; | ||
var executePacket = new Packets.Execute(this.statementInfo.id, this.parameters); | ||
@@ -171,2 +172,2 @@ connection.writePacket(executePacket.toPacket(1)); | ||
module.exports = Execute; | ||
module.exports = Execute; |
@@ -63,6 +63,7 @@ var net = require('net'); | ||
this.packetParser = new PacketParser(function(packet) { | ||
connection.handlePacket(packet); | ||
}); | ||
// TODO: check if bind can be a performance problem | ||
// see https://gist.github.com/khoomeister/4985691#use-that-instead-of-bind | ||
this.packetParser = new PacketParser(this.handlePacket.bind(this)); | ||
if (this.stream instanceof net.Stream) { | ||
@@ -69,0 +70,0 @@ this.stream.ondata = function(data, start, end) { |
{ | ||
"name": "mysql2", | ||
"version": "0.8.4", | ||
"version": "0.8.5", | ||
"description": "fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -47,3 +47,3 @@ module.exports.createConnection = function(callback) { | ||
user: process.env.MYSQL_USER || 'root', | ||
password: process.env.CI ? null : 'test', | ||
password: process.env.CI ? null : '', | ||
database: 'test', | ||
@@ -50,0 +50,0 @@ port: process.env.MYSQL_PORT || 3306 |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
184616
85
4226
7