summaryrefslogtreecommitdiff
path: root/src/mongo/db/namespace_string-inl.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-inl.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-inl.h')
-rw-r--r--src/mongo/db/namespace_string-inl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/namespace_string-inl.h b/src/mongo/db/namespace_string-inl.h
index 17520c54d36..5a03f6d9930 100644
--- a/src/mongo/db/namespace_string-inl.h
+++ b/src/mongo/db/namespace_string-inl.h
@@ -182,4 +182,8 @@ namespace mongo {
return db().toString() + ".system.indexes";
}
+ inline std::string NamespaceString::getCommandNS() const {
+ return db().toString() + ".$cmd";
+ }
+
}