diff options
author | Sophia Tan <sophia_tll@hotmail.com> | 2023-04-18 07:41:17 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-04-18 08:57:59 +0000 |
commit | 274cb477d2a1b64ac81b85e9f1b3172387ce0184 (patch) | |
tree | e89f778fa52a40413403b6a125b69271cf8469c0 /src/mongo/db/query/sbe_cached_solution_planner.cpp | |
parent | 8863b04c282557081cf2634bce0e26f4fa5389b2 (diff) | |
download | mongo-274cb477d2a1b64ac81b85e9f1b3172387ce0184.tar.gz |
SERVER-74486 Always include tenant in collection name attributes in error messages
Diffstat (limited to 'src/mongo/db/query/sbe_cached_solution_planner.cpp')
-rw-r--r-- | src/mongo/db/query/sbe_cached_solution_planner.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/query/sbe_cached_solution_planner.cpp b/src/mongo/db/query/sbe_cached_solution_planner.cpp index 9f551b809e9..c5e9a8280a8 100644 --- a/src/mongo/db/query/sbe_cached_solution_planner.cpp +++ b/src/mongo/db/query/sbe_cached_solution_planner.cpp @@ -67,7 +67,8 @@ CandidatePlans CachedSolutionPlanner::plan( if (!QueryPlannerAnalysis::isEligibleForHashJoin(collectionInfo->second)) { return replan(/* shouldCache */ true, - str::stream() << "Foreign collection " << foreignCollection + str::stream() << "Foreign collection " + << foreignCollection.toStringForErrorMsg() << " is not eligible for hash join anymore"); } } |