summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2015-01-12 15:51:56 -0500
committerDavid Storch <david.storch@10gen.com>2015-01-12 15:52:09 -0500
commit1c1d4b059555164391c295a03595f0de48ea9e6c (patch)
tree813ced56b5a3abc3d0320b30a88d36aac8b9b258 /src/mongo/db/exec
parent4cc2ea575d1aff4f446796c1469f811583440866 (diff)
downloadmongo-1c1d4b059555164391c295a03595f0de48ea9e6c.tar.gz
SERVER-14497 fix incorrect error message in UpdateStage
Diffstat (limited to 'src/mongo/db/exec')
-rw-r--r--src/mongo/db/exec/update.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/update.cpp b/src/mongo/db/exec/update.cpp
index 5e655deae78..016fe231ecd 100644
--- a/src/mongo/db/exec/update.cpp
+++ b/src/mongo/db/exec/update.cpp
@@ -881,7 +881,7 @@ namespace mongo {
// If a stage fails, it may create a status WSM to indicate why it failed, in which case
// 'id' is valid. If ID is invalid, we create our own error message.
if (WorkingSet::INVALID_ID == id) {
- const std::string errmsg = "delete stage failed to read in results from child";
+ const std::string errmsg = "update stage failed to read in results from child";
*out = WorkingSetCommon::allocateStatusMember(_ws, Status(ErrorCodes::InternalError,
errmsg));
return PlanStage::FAILURE;