0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
This commit is contained in:
Eliot Horowitz 2009-12-31 16:42:45 -05:00
parent 54b7dbe7c3
commit 23326c222d

View File

@ -47,8 +47,6 @@ namespace mongo {
/* sometimes we deal with databases with the same name in different directories - thus this */
inline string makeDbKeyStr( const char *ns, const string& path ) {
if ( path == dbpath )
return ns;
char cl[256];
nsToDatabase(ns, cl);
return string( cl ) + ":" + path;