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 ae14be74be9..c8308a0f331 100644 --- a/src/mongo/db/query/find.cpp +++ b/src/mongo/db/query/find.cpp @@ -560,8 +560,8 @@ std::string runQuery(OperationContext* opCtx, repl::ReplicationCoordinator::get(opCtx)->checkCanServeReadsFor(opCtx, nss, slaveOK)); } - // We have a parsed query. Time to get the execution plan for it. - auto exec = uassertStatusOK(getExecutorLegacyFind(opCtx, collection, nss, std::move(cq))); + // Get the execution plan for the query. + auto exec = uassertStatusOK(getExecutorLegacyFind(opCtx, collection, std::move(cq))); const QueryRequest& qr = exec->getCanonicalQuery()->getQueryRequest(); |
