summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/sort_test.cpp
diff options
context:
space:
mode:
authorYunhe (John) Wang <yunhe.wang@mongodb.com>2015-09-24 15:27:24 -0400
committerYunhe (John) Wang <yunhe.wang@mongodb.com>2015-10-12 13:50:30 -0400
commit28a2d6fa3f7fb6659f578d69e6d772ae9be8c25e (patch)
tree8e5fd9aff1cf072d171f634fd819fdc5a69b09f9 /src/mongo/db/exec/sort_test.cpp
parent2039dd73fba411967b2b1ead07f3ab2e542e65a1 (diff)
downloadmongo-28a2d6fa3f7fb6659f578d69e6d772ae9be8c25e.tar.gz
SERVER-20117 Allow queries with meta sortkey to be covered in mongos
Diffstat (limited to 'src/mongo/db/exec/sort_test.cpp')
-rw-r--r--src/mongo/db/exec/sort_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/exec/sort_test.cpp b/src/mongo/db/exec/sort_test.cpp
index 552ec12a69f..8f152709ea4 100644
--- a/src/mongo/db/exec/sort_test.cpp
+++ b/src/mongo/db/exec/sort_test.cpp
@@ -47,7 +47,7 @@ TEST(SortStageTest, SortEmptyWorkingSet) {
// QueuedDataStage will be owned by SortStage.
auto queuedDataStage = stdx::make_unique<QueuedDataStage>(nullptr, &ws);
auto sortKeyGen = stdx::make_unique<SortKeyGeneratorStage>(
- nullptr, queuedDataStage.release(), &ws, nullptr, BSONObj(), BSONObj());
+ nullptr, queuedDataStage.release(), &ws, BSONObj(), BSONObj());
SortStageParams params;
SortStage sort(nullptr, params, &ws, sortKeyGen.release());
@@ -113,7 +113,7 @@ void testWork(const char* patternStr,
params.limit = limit;
auto sortKeyGen = stdx::make_unique<SortKeyGeneratorStage>(
- nullptr, queuedDataStage.release(), &ws, nullptr, params.pattern, fromjson(queryStr));
+ nullptr, queuedDataStage.release(), &ws, params.pattern, fromjson(queryStr));
SortStage sort(nullptr, params, &ws, sortKeyGen.release());