summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/query_planner_text_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/query/query_planner_text_test.cpp')
-rw-r--r--src/mongo/db/query/query_planner_text_test.cpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/mongo/db/query/query_planner_text_test.cpp b/src/mongo/db/query/query_planner_text_test.cpp
index f3cfc6dcca5..64fddc22620 100644
--- a/src/mongo/db/query/query_planner_text_test.cpp
+++ b/src/mongo/db/query/query_planner_text_test.cpp
@@ -70,14 +70,19 @@ namespace {
void addIndex(BSONObj keyPattern, bool multikey = false) {
// The first false means not multikey.
// The second false means not sparse.
- // The third arg is the index name and I am egotistical.
- params.indices.push_back(IndexEntry(keyPattern, multikey, false,
- "hari_king_of_the_stove"));
+ params.indices.push_back(IndexEntry(keyPattern,
+ multikey,
+ false,
+ "hari_king_of_the_stove",
+ BSONObj()));
}
void addIndex(BSONObj keyPattern, bool multikey, bool sparse) {
- params.indices.push_back(IndexEntry(keyPattern, multikey, sparse,
- "note_to_self_dont_break_build"));
+ params.indices.push_back(IndexEntry(keyPattern,
+ multikey,
+ sparse,
+ "note_to_self_dont_break_build",
+ BSONObj()));
}
//