summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/plan_explainer_sbe.cpp
diff options
context:
space:
mode:
authorDaniel Gómez Ferro <daniel.gomezferro@mongodb.com>2022-02-07 15:29:29 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-02-07 18:50:45 +0000
commit7a2d86c376488cc756c0325e6edaf3406a86ec5d (patch)
tree660a74392777be30a2d629bde1951b21c3a61883 /src/mongo/db/query/plan_explainer_sbe.cpp
parent59e19dc9bff797fc1cff45d56942e5e61da36f1a (diff)
downloadmongo-7a2d86c376488cc756c0325e6edaf3406a86ec5d.tar.gz
SERVER-61939 Tighter bounds for clustered collection scans
Diffstat (limited to 'src/mongo/db/query/plan_explainer_sbe.cpp')
-rw-r--r--src/mongo/db/query/plan_explainer_sbe.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/query/plan_explainer_sbe.cpp b/src/mongo/db/query/plan_explainer_sbe.cpp
index 35c9a2830ac..676994720a7 100644
--- a/src/mongo/db/query/plan_explainer_sbe.cpp
+++ b/src/mongo/db/query/plan_explainer_sbe.cpp
@@ -73,10 +73,10 @@ void statsToBSON(const QuerySolutionNode* node,
auto csn = static_cast<const CollectionScanNode*>(node);
bob->append("direction", csn->direction > 0 ? "forward" : "backward");
if (csn->minRecord) {
- record_id_helpers::appendToBSONAs(*csn->minRecord, bob, "minRecord");
+ csn->minRecord->appendToBSONAs(bob, "minRecord");
}
if (csn->maxRecord) {
- record_id_helpers::appendToBSONAs(*csn->maxRecord, bob, "maxRecord");
+ csn->maxRecord->appendToBSONAs(bob, "maxRecord");
}
break;
}