MongoDB remove fix.
This commit is contained in:
parent
82ef3e8232
commit
1845950fdb
6
db.js
6
db.js
|
@ -1531,9 +1531,9 @@ module.exports.CreateDB = function (parent, func) {
|
||||||
// MongoDB pending bulk remove operation, perform fast bulk document removes.
|
// MongoDB pending bulk remove operation, perform fast bulk document removes.
|
||||||
function fileBulkRemoveCompleted(err) {
|
function fileBulkRemoveCompleted(err) {
|
||||||
// Send out callbacks
|
// Send out callbacks
|
||||||
for (var i in obj.filePendingGets) {
|
for (var i in obj.filePendingRemoves) {
|
||||||
for (var j in obj.filePendingGets[i]) {
|
for (var j in obj.filePendingRemoves[i]) {
|
||||||
obj.filePendingGets[i][j](err);
|
obj.filePendingRemoves[i][j](err);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue