Merge branch 'release/1.4.5' into production

This commit is contained in:
Raymond Feng 2014-08-25 13:21:24 -07:00
commit be896b9382
2 changed files with 2 additions and 2 deletions

View File

@ -129,7 +129,7 @@ require('util').inherits(MySQL, SqlConnector);
MySQL.prototype.query = function (sql, callback) {
var self = this;
if (!this.dataSource.connected) {
return this.dataSource.on('connected', function () {
return this.dataSource.once('connected', function () {
this.query(sql, callback);
}.bind(this));
}

View File

@ -1,6 +1,6 @@
{
"name": "loopback-connector-mysql",
"version": "1.4.4",
"version": "1.4.5",
"description": "MySQL connector for loopback-datasource-juggler",
"main": "index.js",
"scripts": {