SERVER-3630: 'this' supplied to map function not read only

This commit is contained in:
agirbal
2011-10-04 16:29:59 -07:00
parent 34174c2f49
commit 2fb57a8d5e
5 changed files with 7 additions and 7 deletions

View File

@@ -428,7 +428,7 @@ namespace mongo {
* @return 0 on success
*/
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 );
return _real->invoke( func , args , recv, timeoutMs , ignoreReturn, readOnlyArgs, readOnlyRecv );
}
string getError() {