summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/text_or.cpp
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2021-04-08 01:34:45 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-04-21 14:20:13 +0000
commitedfe720bfe35c186f7f3f31dbb541ccb1f449d0a (patch)
tree14d4f019f17fc9277582869d2f3e70efcef371df /src/mongo/db/exec/text_or.cpp
parentde3c2bf165ff5a1851be4e0be5e1ad6263aa15ba (diff)
downloadmongo-edfe720bfe35c186f7f3f31dbb541ccb1f449d0a.tar.gz
SERVER-55887 remove unowned_ptr
Diffstat (limited to 'src/mongo/db/exec/text_or.cpp')
-rw-r--r--src/mongo/db/exec/text_or.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/exec/text_or.cpp b/src/mongo/db/exec/text_or.cpp
index f9f3d012358..d51316a51ee 100644
--- a/src/mongo/db/exec/text_or.cpp
+++ b/src/mongo/db/exec/text_or.cpp
@@ -255,7 +255,8 @@ PlanStage::StageState TextOrStage::addTerm(WorkingSetID wsid, WorkingSetID* out)
// Our parent expects RID_AND_OBJ members, so we fetch the document here if we haven't
// already.
try {
- if (!WorkingSetCommon::fetch(opCtx(), _ws, wsid, _recordCursor, collection()->ns())) {
+ if (!WorkingSetCommon::fetch(
+ opCtx(), _ws, wsid, _recordCursor.get(), collection()->ns())) {
_ws->free(wsid);
textRecordData->score = -1;
return NEED_TIME;