summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/query_planner_options_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/query/query_planner_options_test.cpp')
-rw-r--r--src/mongo/db/query/query_planner_options_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/query/query_planner_options_test.cpp b/src/mongo/db/query/query_planner_options_test.cpp
index 7471af9e7a0..7f4cb9e3a1b 100644
--- a/src/mongo/db/query/query_planner_options_test.cpp
+++ b/src/mongo/db/query/query_planner_options_test.cpp
@@ -859,7 +859,7 @@ TEST_F(QueryPlannerTest, DollarResumeAfterFieldPropagatedFromQueryRequestToStage
}
TEST_F(QueryPlannerTest, PreserveRecordIdOptionPrecludesSimpleSort) {
- params.options |= QueryPlannerParams::PRESERVE_RECORD_ID;
+ forceRecordId = true;
runQueryAsCommand(fromjson("{find: 'testns', sort: {a:1}}"));