diff options
author | David Storch <david.storch@10gen.com> | 2014-08-27 15:36:08 -0400 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2014-09-03 09:46:33 -0400 |
commit | 391b1121e36fd85d7e85c4442dccf8367e6da770 (patch) | |
tree | 0cf17a810a3c242b2c2a6363f9f18589fedc2fb6 /src/mongo/db/query/explain.h | |
parent | 6bf17f12e3fde9bee14d2bb9c90001080546f867 (diff) | |
download | mongo-391b1121e36fd85d7e85c4442dccf8367e6da770.tar.gz |
SERVER-14742 delete old explain and turn on explain 2.0
Diffstat (limited to 'src/mongo/db/query/explain.h')
-rw-r--r-- | src/mongo/db/query/explain.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/mongo/db/query/explain.h b/src/mongo/db/query/explain.h index ec018f6af7a..f617809a34c 100644 --- a/src/mongo/db/query/explain.h +++ b/src/mongo/db/query/explain.h @@ -34,17 +34,12 @@ #include "mongo/db/query/plan_executor.h" #include "mongo/db/query/query_planner_params.h" #include "mongo/db/query/query_solution.h" -#include "mongo/db/query/type_explain.h" namespace mongo { class Collection; class OperationContext; - // Temporarily hide the new explain implementation behind a setParameter. - // TODO: take this out, and make the new implementation the default. - extern bool enableNewExplain; - /** * A container for the summary statistics that the profiler, slow query log, and * other non-explain debug mechanisms may want to collect. @@ -181,16 +176,6 @@ namespace mongo { */ static void explainCountEmptyQuery(BSONObjBuilder* out); - /** - * Generate the legacy explain format from a PlanExecutor. - * - * On success, the caller owns 'explain'. - * - * TODO: THIS IS TEMPORARY. Once the legacy explain code is deleted, we won't - * need this anymore. - */ - static Status legacyExplain(PlanExecutor* exec, TypeExplain** explain); - private: /** * Private helper that does the heavy-lifting for the public statsToBSON(...) functions |