summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/get_executor.h
diff options
context:
space:
mode:
authorYunhe (John) Wang <yunhe.wang@mongodb.com>2015-09-30 14:30:20 -0400
committerYunhe (John) Wang <yunhe.wang@mongodb.com>2015-10-01 17:00:04 -0400
commit67a6459668ebfb47bf9b8fb43077d166618de26d (patch)
tree791bacc5e96a719883c05272d74c055db945282d /src/mongo/db/query/get_executor.h
parent16f788f2e7a34690939ab4adfea146d81d935b9a (diff)
downloadmongo-67a6459668ebfb47bf9b8fb43077d166618de26d.tar.gz
SERVER-20641 Equality query on _id with sort now works on mongos
Diffstat (limited to 'src/mongo/db/query/get_executor.h')
-rw-r--r--src/mongo/db/query/get_executor.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/mongo/db/query/get_executor.h b/src/mongo/db/query/get_executor.h
index cd90a56d487..49b83166ac5 100644
--- a/src/mongo/db/query/get_executor.h
+++ b/src/mongo/db/query/get_executor.h
@@ -78,25 +78,6 @@ StatusWith<std::unique_ptr<PlanExecutor>> getExecutor(
size_t plannerOptions = 0);
/**
- * Get a plan executor for query. This differs from the getExecutor(...) function
- * above in that the above requires a non-NULL canonical query, whereas this
- * function can retrieve a plan executor from the raw query object.
- *
- * Used to support idhack updates that do not create a canonical query.
- *
- * If the query is valid and an executor could be created, returns a StatusWith with the
- * PlanExecutor.
- *
- * If the query cannot be executed, returns a Status indicating why.
- */
-StatusWith<std::unique_ptr<PlanExecutor>> getExecutor(OperationContext* txn,
- Collection* collection,
- const std::string& ns,
- const BSONObj& unparsedQuery,
- PlanExecutor::YieldPolicy yieldPolicy,
- size_t plannerOptions = 0);
-
-/**
* Get a plan executor for a .find() operation.
*
* If the query is valid and an executor could be created, returns a StatusWith with the