From e50a02fa1e3cdb4856c89f1f0144b8f2ab6cd88e Mon Sep 17 00:00:00 2001 From: Aaron Date: Tue, 12 Apr 2011 22:25:05 -0700 Subject: [PATCH] SERVER-2111 merge assert codes --- db/repl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/repl.cpp b/db/repl.cpp index 455df038672..e90d6ca8085 100644 --- a/db/repl.cpp +++ b/db/repl.cpp @@ -558,7 +558,7 @@ namespace mongo { BSONObj info; bool ok = oplogReader.conn()->runCommand( "admin", BSON( "listDatabases" << 1 ), info ); - massert( 14029, "Unable to get database list", ok ); + massert( 14033, "Unable to get database list", ok ); BSONObjIterator i( info.getField( "databases" ).embeddedObject() ); while( i.more() ) { BSONElement e = i.next(); @@ -600,7 +600,7 @@ namespace mongo { dropDatabase(*i); } - massert( 14030, "Duplicate database names present after attempting to delete duplicates", + massert( 14034, "Duplicate database names present after attempting to delete duplicates", Database::duplicateUncasedName( db, dbpath ).empty() ); return true; }