summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/cached_plan.h
diff options
context:
space:
mode:
authorIan Boros <ian.boros@10gen.com>2018-05-14 18:47:40 -0400
committerIan Boros <ian.boros@10gen.com>2018-06-14 11:24:23 -0400
commit2a66542157d5eac9ad43c749f3531bd57097cd26 (patch)
treed553675b5e69d3baca258c630c892e1f254e4c4f /src/mongo/db/exec/cached_plan.h
parent208deb2a3652b5c055b988d4585aef4c98e0c4af (diff)
downloadmongo-2a66542157d5eac9ad43c749f3531bd57097cd26.tar.gz
SERVER-32452 add ability for plan cache entries to be inactive
Diffstat (limited to 'src/mongo/db/exec/cached_plan.h')
-rw-r--r--src/mongo/db/exec/cached_plan.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/cached_plan.h b/src/mongo/db/exec/cached_plan.h
index 658312db4a0..fa2f80a5e48 100644
--- a/src/mongo/db/exec/cached_plan.h
+++ b/src/mongo/db/exec/cached_plan.h
@@ -103,7 +103,7 @@ private:
* We fallback to a new plan if updatePlanCache() tells us that the performance was worse
* than anticipated during the trial period.
*
- * We only write the result of re-planning to the plan cache if 'shouldCache' is true.
+ * We only modify the plan cache if 'shouldCache' is true.
*/
Status replan(PlanYieldPolicy* yieldPolicy, bool shouldCache);