diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2018-01-22 14:05:25 -0500 |
---|---|---|
committer | Billy Donahue <billy.donahue@mongodb.com> | 2018-01-23 12:42:19 -0500 |
commit | cf5d532cf5975ee30d6a41a5e83c725c87e27d70 (patch) | |
tree | 738d584edadab34f0e64b1aa500b0a016df700b8 /src/mongo/db/namespace_string.h | |
parent | a84f831688c148114bf073fbf9c14a79e6c3402e (diff) | |
download | mongo-cf5d532cf5975ee30d6a41a5e83c725c87e27d70.tar.gz |
SERVER-32857 move NamespaceString escapeDbName to its user, add warning
Diffstat (limited to 'src/mongo/db/namespace_string.h')
-rw-r--r-- | src/mongo/db/namespace_string.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/db/namespace_string.h b/src/mongo/db/namespace_string.h index 213abcc5f54..87e22d2b394 100644 --- a/src/mongo/db/namespace_string.h +++ b/src/mongo/db/namespace_string.h @@ -318,11 +318,6 @@ public: NamespaceString getCommandNS() const; /** - * Function to escape most non-alpha characters from file names - */ - static std::string escapeDbName(const StringData dbname); - - /** * @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) */ |