diff options
author | Nicholas Zolnierz <nicholas.zolnierz@mongodb.com> | 2019-10-23 19:11:39 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-10-23 19:11:39 +0000 |
commit | de524442c2ab683d31c942c6d0b3e84a6a2a3c65 (patch) | |
tree | f368495496f84f0bda98e129463e09ce73cd285d /src/mongo/db/commands/mr_common.cpp | |
parent | b11ca51de9765599b84e68156aedb26e27ef9b02 (diff) | |
download | mongo-de524442c2ab683d31c942c6d0b3e84a6a2a3c65.tar.gz |
SERVER-43303 Re introduce mapReduce fsm tests in sharded suites
Diffstat (limited to 'src/mongo/db/commands/mr_common.cpp')
-rw-r--r-- | src/mongo/db/commands/mr_common.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/mr_common.cpp b/src/mongo/db/commands/mr_common.cpp index e1595bea415..68ce716f0f5 100644 --- a/src/mongo/db/commands/mr_common.cpp +++ b/src/mongo/db/commands/mr_common.cpp @@ -68,7 +68,7 @@ using namespace std::string_literals; auto translateSort(boost::intrusive_ptr<ExpressionContext> expCtx, const BSONObj& sort, const boost::optional<std::int64_t>& limit) { - return DocumentSourceSort::create(expCtx, sort, limit.get_value_or(-1)); + return DocumentSourceSort::create(expCtx, sort, limit.get_value_or(0)); } auto translateMap(boost::intrusive_ptr<ExpressionContext> expCtx, std::string code) { |