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:
XRpc: In PROC rpc_client() (runtime/xrpc.mx), I had changed ws_addcoll(ws, ... to 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. Stefan [...] -- | Dr. Stefan Manegold | mailto:Stefan.Manegold@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 |