[Monetdb-developers] Mapi and locality
Sandor.Heman at cwi.nl
Sun Nov 26 18:26:03 CET 2006
> how did and does your server-side script look like?
> In particular, in which order do you
> - load module mapi
> - declare the PROCs
> - start the listener (mapi_start() / mil_start())
I start the server using the following procedure:
var p := environment().find("monet_cwd");
var t := p + "/templates.mil";
with PROCs being defined in the sourced file 't'
> On Sun, Nov 26, 2006 at 05:42:40PM +0100, Sándor Héman wrote:
>> I have a problem with Mapi which did not seem to occur in previous
>> releases of MonetDB (<4.15).
>> In the past, I could start an Mserver with a mil script that declared
>> some PROCs, and then let
>> this Mserver accept Mapi connections, with the Mapi clients being
>> able to call the functions that
>> were declared in the server-side startup script. However, since the
>> latest release, the server-side
>> PROCs seem to be invisible to the client:
>> MAPI = monetdb at kanda:50012
>> QUERY = template_conj_2(1, bat(void, lng).seqbase(0 at 0).append(lng
>> ERROR = !ERROR: interpret: no matching MIL operator to
>> 'template_conj_2(int, BAT[oid,lng])'.
>> If I execute exactly the same call in the server-side console, it
>> just works...
>> Any ideas on this? And whether there is an easy fix?
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to
>> share your
>> opinions on IT & business topics through brief surveys - and earn
>> Monetdb-developers mailing list
>> Monetdb-developers at lists.sourceforge.net
> | 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