We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c931ee8 commit b76da6cCopy full SHA for b76da6c
lib/dialects/mysql/connector-manager.js
@@ -374,7 +374,7 @@ module.exports = (function() {
374
375
var dequeue = function(queueItem) {
376
//return the item's connection to the pool
377
- if (this.pool && queueItem.client) {
+ if (this.pool && queueItem.client) {
378
this.pool.release(queueItem.client)
379
}
380
this.activeQueue = without(this.activeQueue, queueItem)
@@ -404,7 +404,7 @@ module.exports = (function() {
404
type: queueItem.query.options.type
405
}, function (err, connection) {
406
if (err) {
407
- afterQuery.call(self, queueItem)
+ afterQuery.call(self, queueItem)
408
queueItem.query.emit('error', err)
409
return
410
0 commit comments