summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/exec/text.h')
-rw-r--r--src/mongo/db/exec/text.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/exec/text.h b/src/mongo/db/exec/text.h
index fd600d9fc41..2b27670b067 100644
--- a/src/mongo/db/exec/text.h
+++ b/src/mongo/db/exec/text.h
@@ -95,7 +95,8 @@ namespace mongo {
private:
// Helper for buffering results array. Returns NEED_TIME (if any results were produced),
// IS_EOF, or FAILURE.
- StageState fillOutResults();
+ // If the result state is FAILURE, out be set to a valid status member WSID.
+ StageState fillOutResults(WorkingSetID *out);
// Helper to update aggregate score with a new-found (term, score) pair for this document.
// Also rejects documents that don't match this stage's filter.