Comparing version 2.3.0 to 2.3.1
@@ -7,2 +7,9 @@ # Changes | ||
## v2.3.1 (2014-05-26) | ||
* Add database errors to error constants | ||
* Add global errors to error constants | ||
* Throw when calling `conn.release` multiple times #824 #827 | ||
* Update known error codes | ||
## v2.3.0 (2014-05-16) | ||
@@ -9,0 +16,0 @@ |
@@ -103,2 +103,6 @@ var mysql = require('../'); | ||
return; | ||
} else if (this._freeConnections.indexOf(connection) !== -1) { | ||
// connection already in free connection pool | ||
// this won't catch all double-release cases | ||
throw new Error('Connection already released'); | ||
} else { | ||
@@ -105,0 +109,0 @@ // add connection to end of free queue |
{ | ||
"name": "mysql", | ||
"description": "A node.js driver for mysql. It is written in JavaScript, does not require compiling, and is 100% MIT licensed.", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "author": "Felix Geisendörfer <felix@debuggable.com> (http://debuggable.com/)", |
Sorry, the diff of this file is too big to display
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
291724
5222