summaryrefslogtreecommitdiff
path: root/src/mongo/db/namespace_string.h
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2013-10-07 19:19:21 -0400
committerEliot Horowitz <eliot@10gen.com>2013-10-07 19:19:21 -0400
commit603a1fae2efcffa7e4185731408a5454821bc3e3 (patch)
tree98ea510e06e17eb157b7124e4003f079adafa36c /src/mongo/db/namespace_string.h
parenteb09362ff4996de88dab11b782d2e52413405495 (diff)
downloadmongo-603a1fae2efcffa7e4185731408a5454821bc3e3.tar.gz
Revert "Revert "SERVER-6405: ExtentManager no longer has access to collection internals""
This reverts commit cbe5d8c77986e940f3bb5fccf7c63732b9b0e907.
Diffstat (limited to 'src/mongo/db/namespace_string.h')
-rw-r--r--src/mongo/db/namespace_string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/namespace_string.h b/src/mongo/db/namespace_string.h
index afeb698ee21..c810c797c79 100644
--- a/src/mongo/db/namespace_string.h
+++ b/src/mongo/db/namespace_string.h
@@ -79,7 +79,7 @@ namespace mongo {
bool isConfigDB() const { return db() == "config"; }
bool isCommand() const { return coll() == "$cmd"; }
bool isSpecialCommand() const { return coll().startsWith("$cmd.sys"); }
-
+ bool isSpecial() const { return special( _ns ); }
/**
* @return true if the namespace is valid. Special namespaces for internal use are considered as valid.
*/