diff --git a/db/db.h b/db/db.h index f0580ff354e..4369a3dca30 100644 --- a/db/db.h +++ b/db/db.h @@ -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;