diff options
Diffstat (limited to 'src/mongo/dbtests/query_stage_collscan.cpp')
-rw-r--r-- | src/mongo/dbtests/query_stage_collscan.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/query_stage_collscan.cpp b/src/mongo/dbtests/query_stage_collscan.cpp index 7eca1c0bfb2..cd041e97f4a 100644 --- a/src/mongo/dbtests/query_stage_collscan.cpp +++ b/src/mongo/dbtests/query_stage_collscan.cpp @@ -182,7 +182,7 @@ public: AutoGetCollection autoColl(&_opCtx, ns, MODE_IX); { - auto db = autoColl.ensureDbExists(); + auto db = autoColl.ensureDbExists(&_opCtx); WriteUnitOfWork wuow(&_opCtx); CollectionOptions collOptions; |