diff options
author | David Storch <david.storch@10gen.com> | 2018-08-08 11:53:07 -0400 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2018-08-09 15:54:07 -0400 |
commit | 8c2cd4720c59dae92c2b284efaec0f88a08b797a (patch) | |
tree | 577997444fde6fa034af5db89c83672cbb53c2ce /src/mongo/db/commands/plan_cache_commands.cpp | |
parent | fc758e567998b87a2360c1c49e3bd0b74da3796b (diff) | |
download | mongo-8c2cd4720c59dae92c2b284efaec0f88a08b797a.tar.gz |
SERVER-35980 Delete PlanCacheEntryFeedback.
This type was only used to house the score of the plan and
thus was not needed. We are removing it in advance of
planned format changes for the planCacheListPlans command.
Diffstat (limited to 'src/mongo/db/commands/plan_cache_commands.cpp')
-rw-r--r-- | src/mongo/db/commands/plan_cache_commands.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/plan_cache_commands.cpp b/src/mongo/db/commands/plan_cache_commands.cpp index 1210588d066..3c1d6a00a6a 100644 --- a/src/mongo/db/commands/plan_cache_commands.cpp +++ b/src/mongo/db/commands/plan_cache_commands.cpp @@ -425,7 +425,7 @@ Status PlanCacheListPlans::list(OperationContext* opCtx, BSONArrayBuilder scoresBob(feedbackBob.subarrayStart("scores")); for (size_t i = 0; i < entry->feedback.size(); ++i) { BSONObjBuilder scoreBob(scoresBob.subobjStart()); - scoreBob.append("score", entry->feedback[i]->score); + scoreBob.append("score", entry->feedback[i]); } scoresBob.doneFast(); } |