diff options
author | Eliot Horowitz <eliot@10gen.com> | 2014-05-20 10:26:12 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2014-05-20 14:05:57 -0400 |
commit | 3f1b15b8fa5e9a59030db37341163935b1df39ef (patch) | |
tree | e29b2b8e12ef51e30e393428c30fa60d411d9c05 /src/mongo/db/index_rebuilder.cpp | |
parent | 2a0fd61c1b0b390b7365e900a0b3e53118515423 (diff) | |
download | mongo-3f1b15b8fa5e9a59030db37341163935b1df39ef.tar.gz |
SERVER-13635: hide NamespaceIndex behind Database
Diffstat (limited to 'src/mongo/db/index_rebuilder.cpp')
-rw-r--r-- | src/mongo/db/index_rebuilder.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/index_rebuilder.cpp b/src/mongo/db/index_rebuilder.cpp index 015a39b95cb..018a0cc512b 100644 --- a/src/mongo/db/index_rebuilder.cpp +++ b/src/mongo/db/index_rebuilder.cpp @@ -36,7 +36,6 @@ #include "mongo/db/instance.h" #include "mongo/db/pdfile.h" #include "mongo/db/repl/rs.h" -#include "mongo/db/structure/catalog/namespace_index.h" #include "mongo/db/operation_context_impl.h" #include "mongo/util/scopeguard.h" @@ -65,7 +64,7 @@ namespace mongo { dbName++) { Client::ReadContext ctx(*dbName); Database* db = ctx.ctx().db(); - db->namespaceIndex()->getNamespaces(collNames, /* onlyCollections */ true); + db->getCollectionNamespaces(&collNames); } checkNS(collNames); } |