summaryrefslogtreecommitdiff
path: root/src/mongo/db/namespace_string.h
diff options
context:
space:
mode:
authorDianna Hohensee <dianna.hohensee@10gen.com>2018-08-27 13:06:38 -0400
committerDianna Hohensee <dianna.hohensee@10gen.com>2018-08-29 16:47:09 -0400
commit4cb0742947dabee476c9979cae39c728a21568d5 (patch)
tree8ec6baacaab48a11b20eae4781f32be1bdad6ec2 /src/mongo/db/namespace_string.h
parentaa36a9e8ad8c98e828f1b53966672b368d973380 (diff)
downloadmongo-4cb0742947dabee476c9979cae39c728a21568d5.tar.gz
SERVER-36015 Remove references to system.namespaces and system.indexes
Diffstat (limited to 'src/mongo/db/namespace_string.h')
-rw-r--r--src/mongo/db/namespace_string.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/mongo/db/namespace_string.h b/src/mongo/db/namespace_string.h
index f6ef0ce8ca6..86459120bfe 100644
--- a/src/mongo/db/namespace_string.h
+++ b/src/mongo/db/namespace_string.h
@@ -228,9 +228,6 @@ public:
bool isLocal() const {
return db() == kLocalDb;
}
- bool isSystemDotIndexes() const {
- return coll() == "system.indexes";
- }
bool isSystemDotProfile() const {
return coll() == "system.profile";
}
@@ -354,10 +351,6 @@ public:
*/
std::string getSisterNS(StringData local) const;
- std::string getSystemIndexesCollection() const {
- return db().toString() + ".system.indexes";
- }
-
NamespaceString getCommandNS() const {
return {db(), "$cmd"};
}
@@ -426,7 +419,7 @@ public:
* samples:
* good:
* foo
- * system.indexes
+ * system.views
* bad:
* $foo
* @param coll - a collection name component of a namespace