summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/cached_plan.h
diff options
context:
space:
mode:
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);