From 2fb57a8d5eb9756feafa86c4bc66460cf7b92222 Mon Sep 17 00:00:00 2001 From: agirbal Date: Tue, 4 Oct 2011 16:29:59 -0700 Subject: SERVER-3630: 'this' supplied to map function not read only --- scripting/engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripting/engine.cpp') diff --git a/scripting/engine.cpp b/scripting/engine.cpp index 0ef594f2c68..13fe681ebe5 100644 --- a/scripting/engine.cpp +++ b/scripting/engine.cpp @@ -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() { -- cgit v1.2.1