summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/plan_ranker.h
diff options
context:
space:
mode:
authorHari Khalsa <hkhalsa@10gen.com>2013-10-07 19:15:36 -0400
committerHari Khalsa <hkhalsa@10gen.com>2013-10-08 16:44:49 -0400
commit39fc9f48e81816af09de7f86c24934836c8b8dd5 (patch)
treec4528e6dc72e5bd9f45247b7a9199494c7b91909 /src/mongo/db/query/plan_ranker.h
parent035779805c6348a66d32bd555ff63fa3933678c8 (diff)
downloadmongo-39fc9f48e81816af09de7f86c24934836c8b8dd5.tar.gz
SERVER-10026 enum >1 plan, prefer plans with more compound fields when ranking
Diffstat (limited to 'src/mongo/db/query/plan_ranker.h')
-rw-r--r--src/mongo/db/query/plan_ranker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/query/plan_ranker.h b/src/mongo/db/query/plan_ranker.h
index 13fdb3ff26e..a0fd0d696da 100644
--- a/src/mongo/db/query/plan_ranker.h
+++ b/src/mongo/db/query/plan_ranker.h
@@ -56,7 +56,7 @@ namespace mongo {
/**
* Assign the stats tree a 'goodness' score. Used internally.
*/
- static double scoreTree(const PlanStageStats& stats);
+ static double scoreTree(const PlanStageStats* stats);
};
/**