summaryrefslogtreecommitdiff
path: root/src/mongo/db/index_rebuilder.cpp
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2014-05-20 14:40:14 -0400
committerEliot Horowitz <eliot@10gen.com>2014-05-20 19:28:17 -0400
commite06a94e70c25ce97628dddbb551e5669f435922e (patch)
tree6df33b89ef6dff5e88efbc7880ca0e196293cb58 /src/mongo/db/index_rebuilder.cpp
parent06bf11f51421f40f8bfe9c9de9b5422673291c28 (diff)
downloadmongo-e06a94e70c25ce97628dddbb551e5669f435922e.tar.gz
SERVER-13635: add DatabaseCatalogEntry as an interface
Diffstat (limited to 'src/mongo/db/index_rebuilder.cpp')
-rw-r--r--src/mongo/db/index_rebuilder.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/index_rebuilder.cpp b/src/mongo/db/index_rebuilder.cpp
index 018a0cc512b..426240390e4 100644
--- a/src/mongo/db/index_rebuilder.cpp
+++ b/src/mongo/db/index_rebuilder.cpp
@@ -32,6 +32,7 @@
#include "mongo/db/auth/user_name.h"
#include "mongo/db/catalog/collection.h"
#include "mongo/db/catalog/database.h"
+#include "mongo/db/catalog/database_catalog_entry.h"
#include "mongo/db/client.h"
#include "mongo/db/instance.h"
#include "mongo/db/pdfile.h"
@@ -64,7 +65,7 @@ namespace mongo {
dbName++) {
Client::ReadContext ctx(*dbName);
Database* db = ctx.ctx().db();
- db->getCollectionNamespaces(&collNames);
+ db->getDatabaseCatalogEntry()->getCollectionNamespaces(&collNames);
}
checkNS(collNames);
}