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.
|
||||
function fileBulkRemoveCompleted(err) {
|
||||
// Send out callbacks
|
||||
for (var i in obj.filePendingGets) {
|
||||
for (var j in obj.filePendingGets[i]) {
|
||||
obj.filePendingGets[i][j](err);
|
||||
for (var i in obj.filePendingRemoves) {
|
||||
for (var j in obj.filePendingRemoves[i]) {
|
||||
obj.filePendingRemoves[i][j](err);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue