error code
This commit is contained in:
@@ -417,7 +417,7 @@ namespace mongo {
|
||||
log(m.size() > 40 ? 1 : 0) << "Accessing: " << dbname << " for the first time" << endl;
|
||||
|
||||
if( !dbMutex.isWriteLocked() ) {
|
||||
uasserted(0, "can't open database in a read lock. consider retrying the query");
|
||||
uasserted(15927, "can't open database in a read lock. consider retrying the query");
|
||||
}
|
||||
|
||||
Database *db = new Database( dbname.c_str() , justCreated , path );
|
||||
|
||||
Reference in New Issue
Block a user