Merge branch 'release/1.4.5' into production
This commit is contained in:
commit
be896b9382
|
@ -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));
|
||||
}
|
||||
|
|
|
@ -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": {
|
||||
|
|
Loading…
Reference in New Issue