- Added option for read only objects in JS invoke method
- map function uses RO input object which speeds up MR quite a bit - added a flag in RO objects so that the BSON can be used as is when converting back
This commit is contained in:
@@ -417,7 +417,7 @@ namespace mongo {
|
||||
/**
|
||||
* @return 0 on success
|
||||
*/
|
||||
int invoke( ScriptingFunction func , const BSONObj* args, const BSONObj* recv, int timeoutMs , bool ignoreReturn ) {
|
||||
int invoke( ScriptingFunction func , const BSONObj* args, const BSONObj* recv, int timeoutMs , bool ignoreReturn, bool readOnlyArgs, bool readOnlyRecv ) {
|
||||
return _real->invoke( func , args , recv, timeoutMs , ignoreReturn );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user