[Monetdb-developers] The new "ws-API", Algebra & XRpc (& PFtijah)
Stefan.Manegold at cwi.nl
Fri Oct 6 12:43:21 CEST 2006
On Thu, Oct 05, 2006 at 11:03:09AM +0200, Stefan Manegold wrote:
> Dear Peter, dear fellow PF & MXQ developers,
> In cases of XRpc & Algebra, there are still places were wsid := ws_id(ws) is
> IMHO called in the wrong location:
> In PROC rpc_client() (runtime/xrpc.mx), I had changed
> ws_addcoll(ws, ...
> ws_opencoll(ws_id(ws), ...
> While this seems to worg for now with read-only documents (i.e., in the
> absense of updates and concurrency), it is IMHO incorrect in general.
> Rather, rpc_client should receive wsid as argument instead of ws;
> if necessary, ws can then be derived via ws := ws_bat(wsid).
I just changed the signatures of doLoopLiftedRPC() & rpc_client()
to receive lng wsid instead of BAT ws,
BAT ws is the locally derived via ws := ws_bat(wsid);
All XRpc tests seem to work fine.
| Dr. Stefan Manegold | mailto:Stefan.Manegold at cwi.nl |
| CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ |
| 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 |
| The Netherlands | Fax : +31 (20) 592-4312 |
More information about the developers-list