Comparing version 2.5.3 to 2.5.4
@@ -7,2 +7,7 @@ # Changes | ||
## v2.5.4 (2014-12-16) | ||
* Fix error if falsy error thrown in callback handler #960 | ||
* Fix various error code strings #954 | ||
## v2.5.3 (2014-11-06) | ||
@@ -9,0 +14,0 @@ |
@@ -80,3 +80,3 @@ var MAX_PACKET_LENGTH = Math.pow(2, 24) - 1; | ||
} catch (err) { | ||
if (typeof err.code !== 'string' || err.code.substr(0, 7) !== 'PARSER_') { | ||
if (!err || typeof err.code !== 'string' || err.code.substr(0, 7) !== 'PARSER_') { | ||
// Rethrow unknown errors | ||
@@ -83,0 +83,0 @@ throw err; |
{ | ||
"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.5.3", | ||
"version": "2.5.4", | ||
"license": "MIT", | ||
@@ -20,3 +20,3 @@ "author": "Felix Geisendörfer <felix@debuggable.com> (http://debuggable.com/)", | ||
"devDependencies": { | ||
"istanbul": "0.3.2", | ||
"istanbul": "0.3.5", | ||
"rimraf": "2.2.8", | ||
@@ -23,0 +23,0 @@ "mkdirp": "0.5.0", |
@@ -155,3 +155,3 @@ # mysql | ||
* `connectTimeout`: The milliseconds before a timeout occurs during the initial connection | ||
to the MySQL server. (Default: 10 seconds) | ||
to the MySQL server. (Default: `10000`) | ||
* `stringifyObjects`: Stringify objects instead of converting to values. See | ||
@@ -332,3 +332,3 @@ issue [#501](https://github.com/felixge/node-mysql/issues/501). (Default: `'false'`) | ||
acquisition. This is slightly different from `connectTimeout`, because acquiring | ||
a pool connection does not always involve making a connection. (Default: 10 seconds) | ||
a pool connection does not always involve making a connection. (Default: `10000`) | ||
* `waitForConnections`: Determines the pool's action when no connections are | ||
@@ -737,4 +737,6 @@ available and the limit has been reached. If `true`, the pool will queue the | ||
automatic pause/resume, based on downstream congestion and the optional | ||
`highWaterMark`. The `objectMode` parameter of the stream is set to `true` by | ||
default. | ||
`highWaterMark`. The `objectMode` parameter of the stream is set to `true` | ||
and cannot be changed (if you need a byte stream, you will need to use a | ||
transform stream, like [objstream](https://www.npmjs.com/package/objstream) for | ||
example). | ||
@@ -741,0 +743,0 @@ For example, piping query results into another stream (with a max buffer of 5 |
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
307167
1206