From 23326c222d8a88c6d4b372a348241528a8726b5c Mon Sep 17 00:00:00 2001 From: Eliot Horowitz Date: Thu, 31 Dec 2009 16:42:45 -0500 Subject: [PATCH] fix --- db/db.h | 2 -- 1 file changed, 2 deletions(-) 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;