On Fri, 22 Feb 2013, Hannes Magnusson wrote:

> > +--FILE--
> > +<?php
> > +require_once dirname(__FILE__) . "/../utils.inc";
> > +$c = new_mongo();
> > +$db = $c->selectDb(dbname());
> > +
> > +$func = 
> > +    "function(greeting, name) { ".
> > +        "return greeting+', '+name+', says '+greeter;".
> > +    "}";
> > +$scope = array("greeter" => "Fred");
> > +
> > +$code = new MongoCode($func, $scope);
> > +
> > +$response = $db->execute($code, array("Goodbye", "Joe"), array('nolock' => false));
> > +var_dump($response);
> 
> The only reason why the test fails when removing the actual code-patch is because it passes in 3 arguments.
> This test doesn't verify that we support an nolock option.

Right, but what can we do? It's something the server doesn't expose 
(tried looking for that with op status etc)