From 584ca76de9ee66b3e11987e640f5317ae40975e4 Mon Sep 17 00:00:00 2001 From: Charlie Swanson Date: Tue, 15 Nov 2016 16:17:19 -0500 Subject: SERVER-22541 Manage aggregation cursors on global cursor manager. Moves registration of aggregation cursors to the global cursor manager. This simplifies the logic for acquiring locks and resolving view namespaces within the getMore and killCursors commands. --- src/mongo/db/query/explain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mongo/db/query/explain.cpp') diff --git a/src/mongo/db/query/explain.cpp b/src/mongo/db/query/explain.cpp index eb43caf5047..b243336655b 100644 --- a/src/mongo/db/query/explain.cpp +++ b/src/mongo/db/query/explain.cpp @@ -596,7 +596,7 @@ void Explain::generatePlannerInfo(PlanExecutor* exec, BSONObjBuilder plannerBob(out->subobjStart("queryPlanner")); plannerBob.append("plannerVersion", QueryPlanner::kPlannerVersion); - plannerBob.append("namespace", exec->ns()); + plannerBob.append("namespace", exec->nss().ns()); // Find whether there is an index filter set for the query shape. The 'indexFilterSet' // field will always be false in the case of EOF or idhack plans. -- cgit v1.2.1