diff options
Diffstat (limited to 'src/mongo/db/query/query_planner.cpp')
-rw-r--r-- | src/mongo/db/query/query_planner.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/query/query_planner.cpp b/src/mongo/db/query/query_planner.cpp index d7503c724a8..fb819ce9c36 100644 --- a/src/mongo/db/query/query_planner.cpp +++ b/src/mongo/db/query/query_planner.cpp @@ -87,7 +87,7 @@ static bool is2DIndex(const BSONObj& pattern) { } string optionString(size_t options) { - mongoutils::str::stream ss; + str::stream ss; if (QueryPlannerParams::DEFAULT == options) { ss << "DEFAULT "; @@ -308,7 +308,7 @@ StatusWith<std::unique_ptr<PlanCacheIndexTree>> QueryPlanner::cacheDataFromTagge taggedTree->getTag()->getType() == MatchExpression::TagData::Type::IndexTag) { IndexTag* itag = static_cast<IndexTag*>(taggedTree->getTag()); if (itag->index >= relevantIndices.size()) { - mongoutils::str::stream ss; + str::stream ss; ss << "Index number is " << itag->index << " but there are only " << relevantIndices.size() << " relevant indices."; return Status(ErrorCodes::BadValue, ss); @@ -384,7 +384,7 @@ Status QueryPlanner::tagAccordingToCache(MatchExpression* filter, verify(NULL == filter->getTag()); if (filter->numChildren() != indexTree->children.size()) { - mongoutils::str::stream ss; + str::stream ss; ss << "Cache topology and query did not match: " << "query has " << filter->numChildren() << " children " << "and cache has " << indexTree->children.size() << " children."; @@ -419,7 +419,7 @@ Status QueryPlanner::tagAccordingToCache(MatchExpression* filter, if (indexTree->entry.get()) { const auto got = indexMap.find(indexTree->entry->identifier); if (got == indexMap.end()) { - mongoutils::str::stream ss; + str::stream ss; ss << "Did not find index with name: " << indexTree->entry->identifier.catalogName; return Status(ErrorCodes::BadValue, ss); } |