summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTess Avitabile <tess.avitabile@mongodb.com>2016-11-17 11:40:44 -0500
committerTess Avitabile <tess.avitabile@mongodb.com>2016-11-17 17:06:15 -0500
commitb9c8db05bbdb8001eca3139dc76dbc9bcfe7470e (patch)
tree364503bb44cf01b8d1253c86048924d885a28293
parent0362de220040e40dc1d5ebe627e32b4b4b02fb8d (diff)
downloadmongo-b9c8db05bbdb8001eca3139dc76dbc9bcfe7470e.tar.gz
Revert "SERVER-14662 fix duplicate uassert error code"
This reverts commit 0df1eabb730f54c72dd545fc2b5f5c7f630e7f3c.
-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 5041ff1ceb3..7df6d43c3f6 100644
--- a/src/mongo/db/exec/update.cpp
+++ b/src/mongo/db/exec/update.cpp
@@ -510,7 +510,7 @@ BSONObj UpdateStage::transformAndUpdate(const Snapshotted<BSONObj>& oldObj, Reco
// If we have matched more than one array position, we cannot perform a positional update
// operation.
- uassert(34412, "ambiguous positional update operation", matchDetails.isValid());
+ uassert(34411, "ambiguous positional update operation", matchDetails.isValid());
string matchedField;
if (matchDetails.hasElemMatchKey())