summaryrefslogtreecommitdiff
path: root/src/mongo/tools
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2014-05-19 16:05:41 -0400
committerEliot Horowitz <eliot@10gen.com>2014-05-19 16:05:41 -0400
commitdb0e1a91fdce2fa43584408a87d637cfe4bcc2ec (patch)
tree8cbefae4f2f43f41f4a512f5b8f250b1662dfbbf /src/mongo/tools
parentf2bfd36a6f3eb7e7e2587268be3cc12636703d42 (diff)
downloadmongo-db0e1a91fdce2fa43584408a87d637cfe4bcc2ec.tar.gz
SERVER-13637: add CollectionCatalogEntry, start Database layer
Diffstat (limited to 'src/mongo/tools')
-rw-r--r--src/mongo/tools/dump.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/tools/dump.cpp b/src/mongo/tools/dump.cpp
index e295001813a..e6a09ebc49e 100644
--- a/src/mongo/tools/dump.cpp
+++ b/src/mongo/tools/dump.cpp
@@ -41,6 +41,7 @@
#include "mongo/db/db.h"
#include "mongo/db/namespace_string.h"
#include "mongo/db/catalog/collection.h"
+#include "mongo/db/structure/catalog/namespace_index.h"
#include "mongo/tools/mongodump_options.h"
#include "mongo/tools/tool.h"
#include "mongo/util/options_parser/option_section.h"
@@ -334,7 +335,7 @@ public:
Database * db = cx.ctx().db();
list<string> namespaces;
- db->namespaceIndex().getNamespaces( namespaces );
+ db->namespaceIndex()->getNamespaces( namespaces );
boost::filesystem::path root = mongoDumpGlobalParams.outputDirectory;
root /= dbname;