summaryrefslogtreecommitdiff
path: root/src/mongo/db/namespace_string.h
diff options
context:
space:
mode:
authorAdam Midvidy <amidvidy@gmail.com>2015-05-11 09:00:31 -0400
committerAdam Midvidy <amidvidy@gmail.com>2015-05-11 09:00:31 -0400
commitb73ab5765fb75ae87ee5ad0f4afbc4fdfc2bc151 (patch)
tree0712d33d484bfeafeb779de7eaa7b2f8b22aaaea /src/mongo/db/namespace_string.h
parente45ec68181c5d27074c75be6627f9660f75cf484 (diff)
downloadmongo-b73ab5765fb75ae87ee5ad0f4afbc4fdfc2bc151.tar.gz
Revert "SERVER-16741 Add escape sequence to directoryperdb paths in KV Store"
This reverts commit e45ec68181c5d27074c75be6627f9660f75cf484.
Diffstat (limited to 'src/mongo/db/namespace_string.h')
-rw-r--r--src/mongo/db/namespace_string.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/db/namespace_string.h b/src/mongo/db/namespace_string.h
index 655dbf68a73..72f357f13c3 100644
--- a/src/mongo/db/namespace_string.h
+++ b/src/mongo/db/namespace_string.h
@@ -145,11 +145,6 @@ namespace mongo {
std::string 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)
*/