diff options
Diffstat (limited to 'src/mongo/db/namespacestring.h')
-rw-r--r-- | src/mongo/db/namespacestring.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/namespacestring.h b/src/mongo/db/namespacestring.h index d108bbaac72..96d78230b39 100644 --- a/src/mongo/db/namespacestring.h +++ b/src/mongo/db/namespacestring.h @@ -46,6 +46,7 @@ namespace mongo { bool isSystem() const { return strncmp(coll.c_str(), "system.", 7) == 0; } bool isCommand() const { return coll == "$cmd"; } + bool isSystemDotIndexes() const { return strncmp(coll.c_str(), "system.indexes", 14) == 0; } /** * @return true if the namespace is valid. Special namespaces for internal use are considered as valid. |