summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/query_planner_test_fixture.h
diff options
context:
space:
mode:
authorEric Cox <eric.cox@mongodb.com>2021-07-21 19:03:16 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-07-31 01:41:48 +0000
commit07d6e82a05dbe36f94d6a32b9378b0ddabdc8045 (patch)
tree8d9666532e2a1f37805c81a87b758c21fe4d3c57 /src/mongo/db/query/query_planner_test_fixture.h
parent63e3eaa766bf2aea4fad1333e69d7c8d52e612e8 (diff)
downloadmongo-07d6e82a05dbe36f94d6a32b9378b0ddabdc8045.tar.gz
SERVER-57461 Remove SPLIT_LIMITED_SORT and associated QueryPlanner code
Diffstat (limited to 'src/mongo/db/query/query_planner_test_fixture.h')
-rw-r--r--src/mongo/db/query/query_planner_test_fixture.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/src/mongo/db/query/query_planner_test_fixture.h b/src/mongo/db/query/query_planner_test_fixture.h
index 17083e9fcb6..bb0f0ed3e5e 100644
--- a/src/mongo/db/query/query_planner_test_fixture.h
+++ b/src/mongo/db/query/query_planner_test_fixture.h
@@ -91,15 +91,15 @@ protected:
void runQuerySortProj(const BSONObj& query, const BSONObj& sort, const BSONObj& proj);
- void runQuerySkipNToReturn(const BSONObj& query, long long skip, long long ntoreturn);
+ void runQuerySkipLimit(const BSONObj& query, long long skip, long long limit);
void runQueryHint(const BSONObj& query, const BSONObj& hint);
- void runQuerySortProjSkipNToReturn(const BSONObj& query,
- const BSONObj& sort,
- const BSONObj& proj,
- long long skip,
- long long ntoreturn);
+ void runQuerySortProjSkipLimit(const BSONObj& query,
+ const BSONObj& sort,
+ const BSONObj& proj,
+ long long skip,
+ long long limit);
void runQuerySortHint(const BSONObj& query, const BSONObj& sort, const BSONObj& hint);
@@ -108,18 +108,18 @@ protected:
const BSONObj& minObj,
const BSONObj& maxObj);
- void runQuerySortProjSkipNToReturnHint(const BSONObj& query,
- const BSONObj& sort,
- const BSONObj& proj,
- long long skip,
- long long ntoreturn,
- const BSONObj& hint);
+ void runQuerySortProjSkipLimitHint(const BSONObj& query,
+ const BSONObj& sort,
+ const BSONObj& proj,
+ long long skip,
+ long long limit,
+ const BSONObj& hint);
void runQueryFull(const BSONObj& query,
const BSONObj& sort,
const BSONObj& proj,
long long skip,
- long long ntoreturn,
+ long long limit,
const BSONObj& hint,
const BSONObj& minObj,
const BSONObj& maxObj);
@@ -132,11 +132,11 @@ protected:
void runInvalidQuerySortProj(const BSONObj& query, const BSONObj& sort, const BSONObj& proj);
- void runInvalidQuerySortProjSkipNToReturn(const BSONObj& query,
- const BSONObj& sort,
- const BSONObj& proj,
- long long skip,
- long long ntoreturn);
+ void runInvalidQuerySortProjSkipLimit(const BSONObj& query,
+ const BSONObj& sort,
+ const BSONObj& proj,
+ long long skip,
+ long long limit);
void runInvalidQueryHint(const BSONObj& query, const BSONObj& hint);
@@ -145,18 +145,18 @@ protected:
const BSONObj& minObj,
const BSONObj& maxObj);
- void runInvalidQuerySortProjSkipNToReturnHint(const BSONObj& query,
- const BSONObj& sort,
- const BSONObj& proj,
- long long skip,
- long long ntoreturn,
- const BSONObj& hint);
+ void runInvalidQuerySortProjSkipLimitHint(const BSONObj& query,
+ const BSONObj& sort,
+ const BSONObj& proj,
+ long long skip,
+ long long limit,
+ const BSONObj& hint);
void runInvalidQueryFull(const BSONObj& query,
const BSONObj& sort,
const BSONObj& proj,
long long skip,
- long long ntoreturn,
+ long long limit,
const BSONObj& hint,
const BSONObj& minObj,
const BSONObj& maxObj);