enhanced shell debug info

This commit is contained in:
Aaron
2009-04-09 18:49:45 -04:00
parent 66a1e6d1ed
commit 278bf65f61
3 changed files with 4 additions and 3 deletions

View File

@@ -78,6 +78,7 @@ Handle<Value> mongoInit(const Arguments& args){
// NOTE I don't believe the conn object will ever be freed.
args.This()->Set( CONN_STRING , External::New( conn ) );
args.This()->Set( String::New( "slaveOk" ) , Boolean::New( false ) );
args.This()->Set( String::New( "host" ), String::New( host ) );
return v8::Undefined();
}