diff options
Diffstat (limited to 'src/mongo/db/ops')
-rw-r--r-- | src/mongo/db/ops/delete.cpp | 2 | ||||
-rw-r--r-- | src/mongo/db/ops/update.cpp | 2 | ||||
-rw-r--r-- | src/mongo/db/ops/write_ops_exec.cpp | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/ops/delete.cpp b/src/mongo/db/ops/delete.cpp index 17d4a41e9ad..9b2720e681f 100644 --- a/src/mongo/db/ops/delete.cpp +++ b/src/mongo/db/ops/delete.cpp @@ -60,7 +60,7 @@ long long deleteObjects(OperationContext* opCtx, auto exec = uassertStatusOK(getExecutorDelete( &CurOp::get(opCtx)->debug(), collection, &parsedDelete, boost::none /* verbosity */)); - uassertStatusOK(exec->executePlan()); + exec->executePlan(); return DeleteStage::getNumDeleted(*exec); } diff --git a/src/mongo/db/ops/update.cpp b/src/mongo/db/ops/update.cpp index c065f670167..117fba38214 100644 --- a/src/mongo/db/ops/update.cpp +++ b/src/mongo/db/ops/update.cpp @@ -95,7 +95,7 @@ UpdateResult update(OperationContext* opCtx, Database* db, const UpdateRequest& auto exec = uassertStatusOK( getExecutorUpdate(nullOpDebug, collection, &parsedUpdate, boost::none /* verbosity */)); - uassertStatusOK(exec->executePlan()); + exec->executePlan(); const UpdateStats* updateStats = UpdateStage::getUpdateStats(exec.get()); diff --git a/src/mongo/db/ops/write_ops_exec.cpp b/src/mongo/db/ops/write_ops_exec.cpp index 19345d8f952..baa7adeee47 100644 --- a/src/mongo/db/ops/write_ops_exec.cpp +++ b/src/mongo/db/ops/write_ops_exec.cpp @@ -675,7 +675,7 @@ static SingleWriteResult performSingleUpdateOp(OperationContext* opCtx, CurOp::get(opCtx)->setPlanSummary_inlock(Explain::getPlanSummary(exec.get())); } - uassertStatusOK(exec->executePlan()); + exec->executePlan(); PlanSummaryStats summary; Explain::getSummaryStats(*exec, &summary); @@ -913,7 +913,7 @@ static SingleWriteResult performSingleDeleteOp(OperationContext* opCtx, CurOp::get(opCtx)->setPlanSummary_inlock(Explain::getPlanSummary(exec.get())); } - uassertStatusOK(exec->executePlan()); + exec->executePlan(); long long n = DeleteStage::getNumDeleted(*exec); curOp.debug().additiveMetrics.ndeleted = n; |