Socket
Socket
Sign inDemoInstall

mysql-pool

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.1 to 0.2.2

2

lib/mysql-pool/pool.js

@@ -92,3 +92,3 @@ "use strict";

for(var i in this._connectionPool) {
for(var i = 0, len = this._connectionPool.length; i < len; i++) {
var client = this._connectionPool[i];

@@ -95,0 +95,0 @@ params.method.apply(client, args.concat(mkCallback(client)));

{
"name": "mysql-pool",
"description": "MySQL connection pool for node.js on top of node-mysql.",
"version": "0.2.1",
"version": "0.2.2",
"homepage": "https://github.com/Kijewski/node-mysql-pool",

@@ -6,0 +6,0 @@ "repository": {

@@ -38,6 +38,6 @@ <a name="Readme"></a>

var pool = new MySQLPool({
poolSize: 4,
user: 'root',
password: 'root',
database: 'test'
poolSize: 4,
user: 'root',
password: 'root',
database: 'test'
});

@@ -52,4 +52,4 @@

pool.query("SELECT SLEEP(2), ? AS i", [i], function(err, rows, fields) {
if(err) throw err;
console.log("Slept: " + rows[0].i);
if(err) throw err;
console.log("Slept: " + rows[0].i);
});

@@ -79,2 +79,6 @@ }

(fixed [issue #3](https://github.com/Kijewski/node-mysql-pool/pull/3))
* [dall](https://github.com/dall)
(spotted [issue #5](https://github.com/Kijewski/node-mysql-pool/issues/5))
* [Demián Rodriguez](https://github.com/demian85)
(fixed [issue #7](https://github.com/Kijewski/node-mysql-pool/issues/7))

@@ -81,0 +85,0 @@ <a name="Compatibility"></a>

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc