diff options
-rw-r--r-- | db/instance.cpp | 2 | ||||
-rw-r--r-- | mongo.xcodeproj/project.pbxproj | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/db/instance.cpp b/db/instance.cpp index a3c3e68d5d5..83930749bec 100644 --- a/db/instance.cpp +++ b/db/instance.cpp @@ -290,6 +290,8 @@ namespace mongo { path - db directory */ void closeClient( const char *cl, const char *path ) { + assert( database ); + assert( database->name == cl ); if ( string("local") != cl ) { DBInfo i(cl); i.dbDropped(); diff --git a/mongo.xcodeproj/project.pbxproj b/mongo.xcodeproj/project.pbxproj index 52f1d5a061f..e197280e63e 100644 --- a/mongo.xcodeproj/project.pbxproj +++ b/mongo.xcodeproj/project.pbxproj @@ -149,7 +149,6 @@ 938A7A480F54873600FB7A07 /* reccache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = reccache.h; sourceTree = "<group>"; }; 938A7A490F54873600FB7A07 /* reci.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = reci.h; sourceTree = "<group>"; }; 938A7A4A0F54873600FB7A07 /* recstore.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = recstore.h; sourceTree = "<group>"; }; - 938DEC930FB4F97F00C393D8 /* repair.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = repair.js; sourceTree = "<group>"; }; 939C67200F535D72006570D3 /* cursor8.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = cursor8.js; sourceTree = "<group>"; }; 93A13A210F4620A500AF1B0D /* commands.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = commands.cpp; sourceTree = "<group>"; }; 93A13A230F4620A500AF1B0D /* config.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = config.cpp; sourceTree = "<group>"; }; @@ -576,7 +575,6 @@ 93A8D1D10F37544800C92B85 /* jstests */ = { isa = PBXGroup; children = ( - 938DEC930FB4F97F00C393D8 /* repair.js */, 93A47EC50FB0B0BA00E760DD /* recovery */, 93C392D00FAA4162007D6E4A /* minmax.js */, 9343373F0F9CD6900019D5C0 /* index8.js */, |