Skip to content

Commit

Permalink
Merge branch 'master' of github.com:mongodb/mongo
Browse files Browse the repository at this point in the history
  • Loading branch information
dwight committed Jul 30, 2010
2 parents 7ac57c5 + 81139cb commit 39a3e9f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripting/sm_db.cpp
Expand Up @@ -176,6 +176,8 @@ namespace mongo {
return JS_FALSE;
}

ScriptEngine::runConnectCallback( *conn );

assert( JS_SetPrivate( cx , obj , (void*)( new shared_ptr< DBClientWithCommands >( conn ) ) ) );
jsval host_val = c.toval( host.c_str() );
assert( JS_SetProperty( cx , obj , "host" , &host_val ) );
Expand Down

0 comments on commit 39a3e9f

Please sign in to comment.