diff options
author | David Hatch <david.hatch@mongodb.com> | 2016-06-01 10:39:21 -0400 |
---|---|---|
committer | David Hatch <david.hatch@mongodb.com> | 2016-06-03 15:48:07 -0400 |
commit | 7c3c0f3bcb487b16ff556d06a4fd66e0fb67de1c (patch) | |
tree | 41b472545759aa21aff247152c09e92a825119f8 /src/mongo/dbtests/documentsourcetests.cpp | |
parent | ee7acb15457859045419ce597ef7319ae775c4f3 (diff) | |
download | mongo-7c3c0f3bcb487b16ff556d06a4fd66e0fb67de1c.tar.gz |
SERVER-24118 Rename LiteParsedQuery to QueryRequest.
Diffstat (limited to 'src/mongo/dbtests/documentsourcetests.cpp')
-rw-r--r-- | src/mongo/dbtests/documentsourcetests.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/dbtests/documentsourcetests.cpp b/src/mongo/dbtests/documentsourcetests.cpp index c8f9bca5e29..5d18e0c4bb1 100644 --- a/src/mongo/dbtests/documentsourcetests.cpp +++ b/src/mongo/dbtests/documentsourcetests.cpp @@ -96,12 +96,12 @@ protected: OldClientWriteContext ctx(&_opCtx, nss.ns()); - auto lpq = stdx::make_unique<LiteParsedQuery>(nss); + auto qr = stdx::make_unique<QueryRequest>(nss); if (hint) { - lpq->setHint(*hint); + qr->setHint(*hint); } auto cq = uassertStatusOK(CanonicalQuery::canonicalize( - &_opCtx, std::move(lpq), ExtensionsCallbackDisallowExtensions())); + &_opCtx, std::move(qr), ExtensionsCallbackDisallowExtensions())); _exec = uassertStatusOK( getExecutor(&_opCtx, ctx.getCollection(), std::move(cq), PlanExecutor::YIELD_MANUAL)); |