mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
fix
This commit is contained in:
parent
54b7dbe7c3
commit
23326c222d
2
db/db.h
2
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;
|
||||
|
Loading…
Reference in New Issue
Block a user