diff options
author | Jordi Olivares Provencio <jordi.olivares-provencio@mongodb.com> | 2022-07-15 14:46:25 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-07-15 16:26:15 +0000 |
commit | d8616301f12951868e52e19cd696cff620caa28e (patch) | |
tree | 8e3ddeddae9ba83be8899c93cbfa465fda7e20a9 /src/mongo/db/query/plan_executor_impl.cpp | |
parent | 6af105aa73b7e3ed88186a14a5e832434af65863 (diff) | |
download | mongo-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.cpp | 2 |
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) { |