summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/haystack.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/haystack.cpp')
-rw-r--r--src/mongo/db/commands/haystack.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/haystack.cpp b/src/mongo/db/commands/haystack.cpp
index b17c97d22f9..92fc8f7a2a2 100644
--- a/src/mongo/db/commands/haystack.cpp
+++ b/src/mongo/db/commands/haystack.cpp
@@ -157,7 +157,7 @@ public:
auto exec = InternalPlanner::indexScan(opCtx,
- collection,
+ &collection,
ham->_descriptor,
key,
key,