diff options
author | Faustoleyva54 <fausto.leyva@mongodb.com> | 2022-01-04 15:20:44 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-01-05 21:46:33 +0000 |
commit | 32522b3fca6ab3a6ece67912c3c9af63654ecbbb (patch) | |
tree | 0d9863dc3283fb82705e1f544697da1541cd8dba /src/mongo/db/s/resharding | |
parent | 23376f506bf0ee9cb64cdf212a618224a1184859 (diff) | |
download | mongo-32522b3fca6ab3a6ece67912c3c9af63654ecbbb.tar.gz |
SERVER-62050 Remove _opCtx from AutoGetCollection
Diffstat (limited to 'src/mongo/db/s/resharding')
-rw-r--r-- | src/mongo/db/s/resharding/resharding_data_copy_util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/resharding/resharding_data_copy_util.cpp b/src/mongo/db/s/resharding/resharding_data_copy_util.cpp index 9e6b143efa6..a0410be86b5 100644 --- a/src/mongo/db/s/resharding/resharding_data_copy_util.cpp +++ b/src/mongo/db/s/resharding/resharding_data_copy_util.cpp @@ -66,7 +66,7 @@ void ensureCollectionExists(OperationContext* opCtx, } WriteUnitOfWork wuow(opCtx); - coll.ensureDbExists()->createCollection(opCtx, nss, options); + coll.ensureDbExists(opCtx)->createCollection(opCtx, nss, options); wuow.commit(); }); } |