finish cleaning up externalSetup modes MINOR

This commit is contained in:
Aaron
2009-05-15 10:54:34 -04:00
parent cb97e39f0f
commit 52cebee31b
3 changed files with 3 additions and 3 deletions

View File

@@ -660,7 +660,7 @@ namespace mongo {
}
void localConnect( const char * dbName ){
initMongoJS( this , _context , _global , true, false );
initMongoJS( this , _context , _global , true, true );
exec( "_mongo = new Mongo();" );
exec( ((string)"db = _mongo.getDB( \"" + dbName + "\" ); ").c_str() );