summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/plan_executor_impl.cpp
diff options
context:
space:
mode:
authorJordi Olivares Provencio <jordi.olivares-provencio@mongodb.com>2022-07-15 14:46:25 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-07-15 16:26:15 +0000
commitd8616301f12951868e52e19cd696cff620caa28e (patch)
tree8e3ddeddae9ba83be8899c93cbfa465fda7e20a9 /src/mongo/db/query/plan_executor_impl.cpp
parent6af105aa73b7e3ed88186a14a5e832434af65863 (diff)
downloadmongo-d8616301f12951868e52e19cd696cff620caa28e.tar.gz
SERVER-67471 Improve RecordId usage performance
Diffstat (limited to 'src/mongo/db/query/plan_executor_impl.cpp')
-rw-r--r--src/mongo/db/query/plan_executor_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/query/plan_executor_impl.cpp b/src/mongo/db/query/plan_executor_impl.cpp
index d8663b4c4e3..2b9505ed9e5 100644
--- a/src/mongo/db/query/plan_executor_impl.cpp
+++ b/src/mongo/db/query/plan_executor_impl.cpp
@@ -418,7 +418,7 @@ PlanExecutor::ExecState PlanExecutorImpl::_getNextImpl(Snapshotted<Document>* ob
if (nullptr != dlOut) {
tassert(6297500, "Working set member has no record ID", member->hasRecordId());
- *dlOut = member->recordId;
+ *dlOut = std::move(member->recordId);
}
if (hasRequestedData) {