diff options
Diffstat (limited to 'src/mongo/db/namespace_string.h')
-rw-r--r-- | src/mongo/db/namespace_string.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mongo/db/namespace_string.h b/src/mongo/db/namespace_string.h index 598ff87c4f0..ce720cffffb 100644 --- a/src/mongo/db/namespace_string.h +++ b/src/mongo/db/namespace_string.h @@ -47,6 +47,7 @@ class NamespaceString { public: constexpr static size_t MaxDatabaseNameLen = 128; // max str len for the db name, including null char + constexpr static size_t MaxNSCollectionLenFCV42 = 120U; constexpr static size_t MaxNsCollectionLen = 255; // Reserved system namespaces @@ -298,11 +299,6 @@ public: bool isDropPendingNamespace() const; /** - * Returns true if the namespace length is valid based on the FCV setting. - */ - bool checkLengthForFCV() const; - - /** * Returns the drop-pending namespace name for this namespace, provided the given optime. * * Example: |