summaryrefslogtreecommitdiff
path: root/src/mongo/db/namespace_string.h
diff options
context:
space:
mode:
authorGreg Studer <greg@10gen.com>2013-11-07 17:51:29 -0500
committerGreg Studer <greg@10gen.com>2013-11-11 09:51:13 -0500
commitbe7406205df94a74b25e628e9ec04dd9fab8dacf (patch)
treef2427ef30cf38d661636edb20f20a1cdada84b8a /src/mongo/db/namespace_string.h
parent3c707bd5a995776d70cc740a0c7220c5986aacde (diff)
downloadmongo-be7406205df94a74b25e628e9ec04dd9fab8dacf.tar.gz
SERVER-10818 push all upconverted writes through same codepath, relax schema for auth failures
Diffstat (limited to 'src/mongo/db/namespace_string.h')
-rw-r--r--src/mongo/db/namespace_string.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/namespace_string.h b/src/mongo/db/namespace_string.h
index c810c797c79..785fefbc317 100644
--- a/src/mongo/db/namespace_string.h
+++ b/src/mongo/db/namespace_string.h
@@ -100,6 +100,9 @@ namespace mongo {
// @return db() + ".system.indexes"
std::string getSystemIndexesCollection() const;
+ // @return db() + ".$cmd"
+ std::string getCommandNS() const;
+
/**
* @return true if ns is 'normal'. A "$" is used for namespaces holding index data,
* which do not contain BSON objects in their records. ("oplog.$main" is the exception)