summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/collection_impl.cpp
diff options
context:
space:
mode:
authorGregory Wlodarek <gregory.wlodarek@mongodb.com>2019-07-29 21:00:16 -0400
committerGregory Wlodarek <gregory.wlodarek@mongodb.com>2019-07-29 21:06:47 -0400
commit0d6d248c39a5b4e43eefc9320b5dec3229cfcfdb (patch)
tree1fb67633d3c9c551341dbf41efb47a80c6392553 /src/mongo/db/catalog/collection_impl.cpp
parent47d0308cd596c6d40d6a3069379be1bdaf51d47b (diff)
downloadmongo-0d6d248c39a5b4e43eefc9320b5dec3229cfcfdb.tar.gz
SERVER-41696 Remove the 'ns' field from index specs
Diffstat (limited to 'src/mongo/db/catalog/collection_impl.cpp')
-rw-r--r--src/mongo/db/catalog/collection_impl.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/catalog/collection_impl.cpp b/src/mongo/db/catalog/collection_impl.cpp
index 6ebdaf1ec51..2d441c2b2f6 100644
--- a/src/mongo/db/catalog/collection_impl.cpp
+++ b/src/mongo/db/catalog/collection_impl.cpp
@@ -1051,7 +1051,6 @@ std::unique_ptr<PlanExecutor, PlanExecutor::Deleter> CollectionImpl::makePlanExe
void CollectionImpl::setNs(NamespaceString nss) {
_ns = std::move(nss);
- _indexCatalog->setNs(_ns);
_infoCache->setNs(_ns);
_recordStore.get()->setNs(_ns);
}