Only set options.values = values when values is defined.  Otherwise, when an options object is passed as the first object and no callback is passed, options.values is unset.
Added test case for passing options object when streaming query rows (connection.query({sql: 'SELECT ?', values: [ 'value' ]}))
Merge pull request #755 from swekaj/master

Only set options.values = values when values is defined.  Otherwise, whe...
Add passive testing on node.js 0.11
Add test for normal password auth
Use new sha1 function with node.js > 0.10.5 only

This switches node.js 0.10 back to the old sha1 function due to
some bugs in early node.js 0.10 versions.

node.js >= 0.10.0 < 0.10.5 throw an error from `hash.setEncoding`
node.js 0.10.5 does not honor `hash.setEncoding` for `hash.write`
and the string is interpreted as utf8 and corrupted.

fixes #746
fixes #752
docs: Update Changes file
Revert "crypto.createHash fix for node.js < 11"

This reverts commit fe4c2f55b6b0d329ef529bcc90ea2c911f803e33.

Testing has shown the changes are not necessary, so this removes
code doing version sniffing.

closes #757
2.1.1
Use indexOf to find connection when removing from pool

fixes #611
Make callback to pool.query optional

closes #585
docs: remove handleDisconnect example

This removes the code example that tries to create a new connection
after a connection is disconnected. This example came about before
there was a `Pool` in this library and was necessary. Now this example
is simply mis-leading and users end up trying to copy-and-paste it
into a stand-alone file and get confused on how to replace the
`connection` variable reference. `Pool` is the official solution.
Prevent enqueuing sequences after fatal error

fixes #400
docs: Use SVG Travis CI badge
docs: Remove item from TODO list
Improve the 16MB packet test a bit

This improves the test to make the field itself over 16MB and check
the value of the field as well. In addition, a text field is trailing
the binary field.

closes #433