moving some globals into a common file

This commit is contained in:
Eliot Horowitz
2010-02-07 01:38:54 -05:00
parent efc3bd2a93
commit 6c6d40a375
4 changed files with 16 additions and 6 deletions

View File

@@ -186,7 +186,7 @@ namespace mongo {
}
if ( dbMutex.getState() > 0 )
if ( dbMutex.getState() >= 0 )
db->ensureIndex( coll, BSON( "_id" << 1 ) , true );
// --- remove things from scope that were removed