summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharlie Swanson <charlie.swanson@mongodb.com>2016-10-24 11:47:23 -0400
committerCharlie Swanson <charlie.swanson@mongodb.com>2016-10-24 11:47:49 -0400
commit7f4670f708361c6da29ba5503e000964a035fe6f (patch)
treee5cd0ac9c652423709f44b3768623066b5f625cd /src
parentb168664ffaf33e079b83da1c3e805f33ba8208d6 (diff)
downloadmongo-7f4670f708361c6da29ba5503e000964a035fe6f.tar.gz
SERVER-25195 Fix error message for $range's step validation
Diffstat (limited to 'src')
-rw-r--r--src/mongo/db/pipeline/expression.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/expression.cpp b/src/mongo/db/pipeline/expression.cpp
index 4f4c893fd17..c93b7ad4c36 100644
--- a/src/mongo/db/pipeline/expression.cpp
+++ b/src/mongo/db/pipeline/expression.cpp
@@ -2683,7 +2683,7 @@ Value ExpressionRange::evaluateInternal(Variables* vars) const {
Value stepVal(vpOperand[2]->evaluateInternal(vars));
uassert(34447,
- str::stream() << "$range requires a numeric starting value, found value of type:"
+ str::stream() << "$range requires a numeric step value, found value of type:"
<< typeName(stepVal.getType()),
stepVal.numeric());
uassert(34448,