diff options
author | Eric Cox <eric.cox@mongodb.com> | 2021-07-21 19:03:16 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-07-31 01:41:48 +0000 |
commit | 07d6e82a05dbe36f94d6a32b9378b0ddabdc8045 (patch) | |
tree | 8d9666532e2a1f37805c81a87b758c21fe4d3c57 /src/mongo/db/query/find.cpp | |
parent | 63e3eaa766bf2aea4fad1333e69d7c8d52e612e8 (diff) | |
download | mongo-07d6e82a05dbe36f94d6a32b9378b0ddabdc8045.tar.gz |
SERVER-57461 Remove SPLIT_LIMITED_SORT and associated QueryPlanner code
Diffstat (limited to 'src/mongo/db/query/find.cpp')
-rw-r--r-- | src/mongo/db/query/find.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/mongo/db/query/find.cpp b/src/mongo/db/query/find.cpp index 0f791f2d11e..c380e4419e2 100644 --- a/src/mongo/db/query/find.cpp +++ b/src/mongo/db/query/find.cpp @@ -104,19 +104,6 @@ bool shouldSaveCursorGetMore(PlanExecutor* exec, bool isTailable) { return isTailable || !exec->isEOF(); } -void beginQueryOp(OperationContext* opCtx, - const NamespaceString& nss, - const BSONObj& queryObj, - long long ntoreturn, - long long ntoskip) { - auto curOp = CurOp::get(opCtx); - curOp->debug().ntoreturn = ntoreturn; - curOp->debug().ntoskip = ntoskip; - stdx::lock_guard<Client> lk(*opCtx->getClient()); - curOp->setOpDescription_inlock(queryObj); - curOp->setNS_inlock(nss.ns()); -} - void endQueryOp(OperationContext* opCtx, const CollectionPtr& collection, const PlanExecutor& exec, |