Skip to content

Commit 90ee0bc

Browse files
committed
Releasing 0.5.7
1 parent 0db18e5 commit 90ee0bc

File tree

4 files changed

+19
-3
lines changed

4 files changed

+19
-3
lines changed

CHANGELOG

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
For more in depth changelog, check the Github Commits:
2+
3+
https://github.com/mariano/node-db-mysql/commits/master
4+
5+
0.5.7
6+
-----
7+
* [API CHANGE] Query.execute() callback now takes error as its first argument
8+
* Added new optional connection options: charset, compress, initCommand, readTimeout, reconnect, sslVerifyServer, timeout, writeTimeout
9+
10+
0.5.6
11+
-----
12+
First public release

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ you specified the MYSQL_CONFIG environment var, install with npm:
2929
password: 'password',
3030
database: 'node'
3131
}).on('ready', function() {
32-
this.query().select('*').from('users').execute(function(rows) {
32+
this.query().select('*').from('users').execute(function(error, rows) {
33+
if (error) {
34+
console.log('ERROR: ' + error);
35+
return;
36+
}
3337
console.log(rows.length + ' ROWS');
3438
});
3539
}).connect();

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
, "description" : "MySQL database bindings for Node.JS"
33
, "keywords": ["database","db","native","binding","library","plugin","client","mysql","libmysql"]
44
, "homepage" : "http://nodejsdb.org/db-mysql"
5-
, "version" : "0.5.6"
5+
, "version" : "0.5.7"
66
, "engines" : { "node" : ">=0.4.1" }
77
, "maintainers" :
88
[ { "name": "Mariano Iglesias"

wscript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ from os.path import exists
1111

1212
srcdir = "."
1313
blddir = "build"
14-
VERSION = "0.5.6"
14+
VERSION = "0.5.7"
1515

1616
def set_options(opt):
1717
opt.tool_options("compiler_cxx")

0 commit comments

Comments
 (0)