diff options
Diffstat (limited to 'src/mongo/db/query/query_planner_test_fixture.h')
-rw-r--r-- | src/mongo/db/query/query_planner_test_fixture.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/query/query_planner_test_fixture.h b/src/mongo/db/query/query_planner_test_fixture.h index 2bdd7d5b168..628d9ee3fca 100644 --- a/src/mongo/db/query/query_planner_test_fixture.h +++ b/src/mongo/db/query/query_planner_test_fixture.h @@ -192,6 +192,11 @@ protected: void assertHasOneSolutionOf(const std::vector<std::string>& solnStrs) const; /** + * Check that the only solution available is an ascending collection scan. + */ + void assertHasOnlyCollscan() const; + + /** * Helper function to parse a MatchExpression. */ static std::unique_ptr<MatchExpression> parseMatchExpression( |