SERVER-4030: with v8 assert kills db when accessing a sharded collection via JS

This commit is contained in:
agirbal
2011-10-06 14:26:39 -07:00
parent a1982dd5ba
commit dfdb07b116
3 changed files with 19 additions and 3 deletions

View File

@@ -364,6 +364,7 @@ namespace mongo {
V8STR_V8_FUNC = getV8Str( "_v8_function" );
V8STR_RO = getV8Str( "_ro" );
V8STR_MODIFIED = getV8Str( "_mod" );
V8STR_FULLNAME = getV8Str( "_fullName" );
injectV8Function("print", Print);
injectV8Function("version", Version);