From bab8a18eea2c606f9e05d0c064f90670bf36d327 Mon Sep 17 00:00:00 2001 From: Sophia Tan Date: Wed, 6 Jul 2022 17:04:19 +0000 Subject: SERVER-65488 Change OldClientContext ctor to take in NamespaceString --- src/mongo/db/commands/drop_indexes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mongo/db/commands/drop_indexes.cpp') diff --git a/src/mongo/db/commands/drop_indexes.cpp b/src/mongo/db/commands/drop_indexes.cpp index e95da5c1378..9313915c9d3 100644 --- a/src/mongo/db/commands/drop_indexes.cpp +++ b/src/mongo/db/commands/drop_indexes.cpp @@ -177,7 +177,7 @@ public: collection->uuid()); // This is necessary to set up CurOp and update the Top stats. - OldClientContext ctx(opCtx, toReIndexNss.ns()); + OldClientContext ctx(opCtx, toReIndexNss); const auto defaultIndexVersion = IndexDescriptor::getDefaultIndexVersion(); -- cgit v1.2.1