summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/executor_registry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/dbtests/executor_registry.cpp')
-rw-r--r--src/mongo/dbtests/executor_registry.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/dbtests/executor_registry.cpp b/src/mongo/dbtests/executor_registry.cpp
index 183079bee08..c9581be2952 100644
--- a/src/mongo/dbtests/executor_registry.cpp
+++ b/src/mongo/dbtests/executor_registry.cpp
@@ -80,7 +80,7 @@ namespace ExecutorRegistry {
ws.release(),
scan.release(),
cq,
- _ctx->ctx().db()->getCollection(&_opCtx, ns()),
+ _ctx->ctx().db()->getCollection(ns()),
PlanExecutor::YIELD_MANUAL,
&exec);
ASSERT_OK(status);
@@ -106,7 +106,7 @@ namespace ExecutorRegistry {
int N() { return 50; }
Collection* collection() {
- return _ctx->ctx().db()->getCollection( &_opCtx, ns() );
+ return _ctx->ctx().db()->getCollection( ns() );
}
static const char* ns() { return "unittests.ExecutorRegistryDiskLocInvalidation"; }