diff options
Diffstat (limited to 'src/mongo/db/query/find.cpp')
-rw-r--r-- | src/mongo/db/query/find.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/query/find.cpp b/src/mongo/db/query/find.cpp index 355858e2ccf..299d7a97480 100644 --- a/src/mongo/db/query/find.cpp +++ b/src/mongo/db/query/find.cpp @@ -85,7 +85,7 @@ bool shouldSaveCursor(OperationContext* opCtx, const CollectionPtr& collection, PlanExecutor::ExecState finalState, PlanExecutor* exec) { - const FindCommand& findCommand = exec->getCanonicalQuery()->getFindCommand(); + const FindCommandRequest& findCommand = exec->getCanonicalQuery()->getFindCommandRequest(); if (findCommand.getSingleBatch()) { return false; } @@ -631,7 +631,7 @@ bool runQuery(OperationContext* opCtx, opCtx, nss, secondaryOk)); } - const FindCommand& findCommand = cq->getFindCommand(); + const FindCommandRequest& findCommand = cq->getFindCommandRequest(); // Get the execution plan for the query. constexpr auto verbosity = ExplainOptions::Verbosity::kExecAllPlans; const bool isExplain = cq->getExplain(); |