diff options
Diffstat (limited to 'src/mongo/db/query/find_common.h')
-rw-r--r-- | src/mongo/db/query/find_common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/query/find_common.h b/src/mongo/db/query/find_common.h index 44b941f7667..3fc2b9b0e76 100644 --- a/src/mongo/db/query/find_common.h +++ b/src/mongo/db/query/find_common.h @@ -54,7 +54,7 @@ extern const OperationContext::Decoration<AwaitDataState> awaitDataState; class BSONObj; class CanonicalQuery; -class QueryRequest; +class FindCommand; // Failpoint for making find hang. extern FailPoint waitInFindBeforeMakingBatch; @@ -101,7 +101,7 @@ public: * * If 'qr' does not have a batchSize, the default batchSize is respected. */ - static bool enoughForFirstBatch(const QueryRequest& qr, long long numDocs); + static bool enoughForFirstBatch(const FindCommand& findCommand, long long numDocs); /** * Returns true if the batchSize for the getMore has been satisfied. |