summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/query_yield.h
diff options
context:
space:
mode:
authorCharlie Swanson <charlie.swanson@mongodb.com>2016-11-15 16:17:19 -0500
committerCharlie Swanson <charlie.swanson@mongodb.com>2017-03-15 11:03:44 -0400
commit584ca76de9ee66b3e11987e640f5317ae40975e4 (patch)
treedb52f1717155c295437f1b4fa41a5db295183669 /src/mongo/db/query/query_yield.h
parentf05b9437fbdc53deecf55ed3c20e36af3d733953 (diff)
downloadmongo-584ca76de9ee66b3e11987e640f5317ae40975e4.tar.gz
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.
Diffstat (limited to 'src/mongo/db/query/query_yield.h')
-rw-r--r--src/mongo/db/query/query_yield.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/query/query_yield.h b/src/mongo/db/query/query_yield.h
index a42e29800c9..7d98b299484 100644
--- a/src/mongo/db/query/query_yield.h
+++ b/src/mongo/db/query/query_yield.h
@@ -28,7 +28,7 @@
#pragma once
-#include <string>
+#include "mongo/db/namespace_string.h"
namespace mongo {
@@ -50,7 +50,7 @@ public:
*/
static void yieldAllLocks(OperationContext* opCtx,
RecordFetcher* fetcher,
- const std::string& planExecNS);
+ const NamespaceString& planExecNS);
};
} // namespace mongo