summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/find_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/query/find_common.h')
-rw-r--r--src/mongo/db/query/find_common.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/query/find_common.h b/src/mongo/db/query/find_common.h
index 93483949ee7..2ae9fa2ed8f 100644
--- a/src/mongo/db/query/find_common.h
+++ b/src/mongo/db/query/find_common.h
@@ -32,7 +32,7 @@
namespace mongo {
class BSONObj;
-class LiteParsedQuery;
+class QueryRequest;
// Enabling this fail point will cause the getMore command to busy wait after pinning the cursor,
// until the fail point is disabled.
@@ -58,9 +58,9 @@ public:
/**
* Returns true if the batchSize for the initial find has been satisfied.
*
- * If 'pq' does not have a batchSize, the default batchSize is respected.
+ * If 'qr' does not have a batchSize, the default batchSize is respected.
*/
- static bool enoughForFirstBatch(const LiteParsedQuery& pq, long long numDocs);
+ static bool enoughForFirstBatch(const QueryRequest& qr, long long numDocs);
/**
* Returns true if the batchSize for the getMore has been satisfied.