summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/explain.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/query/explain.h')
-rw-r--r--src/mongo/db/query/explain.h15
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