error code

This commit is contained in:
dwight
2011-12-01 17:04:22 -05:00
parent c5c3257193
commit 1fcc72f2e6
2 changed files with 2 additions and 2 deletions

View File

@@ -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 );