summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/pipeline_command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/pipeline_command.cpp')
-rw-r--r--src/mongo/db/commands/pipeline_command.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/db/commands/pipeline_command.cpp b/src/mongo/db/commands/pipeline_command.cpp
index 848e94b7df8..9061f5978cb 100644
--- a/src/mongo/db/commands/pipeline_command.cpp
+++ b/src/mongo/db/commands/pipeline_command.cpp
@@ -281,7 +281,10 @@ namespace mongo {
// XXX
const bool isAggCursor = true; // enable special locking behavior
ClientCursor* cursor = new ClientCursor(collection->cursorManager(),
- execHolder.release(), 0, BSONObj(),
+ execHolder.release(),
+ nss.ns(),
+ 0,
+ BSONObj(),
isAggCursor);
pin.reset(new ClientCursorPin(collection->cursorManager(), cursor->cursorid()));
// Don't add any code between here and the start of the try block.