Closed
Description
Soeren Unruh opened DATAMONGO-1465 and commented
DefaultScriptOperations.execute()
calls convertScriptArgs()
to convert the script's arguments. For Strings it performs a local single-quoting.
This is necessary for DefaultScriptOperations.call()
arguments (as the function call is constructed as a string) but not for execute()
(as the arguments will be transfered in a DBObject
Affects: 1.9.2 (Hopper SR2)
Referenced from: pull request #383
Backported to: 1.9.3 (Hopper SR3), 1.8.5 (Gosling SR5)