make sure have _id index on system.js SERVER-609
This commit is contained in:
@@ -178,7 +178,9 @@ namespace mongo {
|
||||
|
||||
setElement( n.valuestr() , v );
|
||||
}
|
||||
|
||||
|
||||
db->ensureIndex( coll, BSON( "_id" << 1 ) , true );
|
||||
|
||||
}
|
||||
|
||||
ScriptingFunction Scope::createFunction( const char * code ){
|
||||
|
||||
Reference in New Issue
Block a user