[Monetdb-developers] [Monetdb-pf-checkins] pathfinder/runtime xrpc_common.mx, , 1.4, 1.5 xrpc_server.mx, , 1.77, 1.78

Ying Zhang Y.Zhang at cwi.nl
Thu Jul 17 13:27:37 CEST 2008


Hi Stefan,

You are right (again).  A small question:

>  @= xrpc_bat
> -    xrpc_ at 1 = BATnew(TYPE_void,ATOMindex("@2"),1024);
> -    assert(xrpc_ at 1);
> -    BATseqbase(xrpc_ at 1, 1);
> -    BBPrename(xrpc_ at 1->batCacheid, "xrpc_ at 1");
> +    xrpc_bat = BATnew(TYPE_void,ATOMindex("@2"),1024);
> +    assert(xrpc_bat);
> +    BATseqbase(xrpc_bat, 1);
> +    BBPrename(xrpc_bat->batCacheid, "xrpc_ at 1");
>  @c
>  
>  bat* xrpc_prelude(void) {
> +    BAT *xrpc_bat = NULL; 
>      @:xrpc_bat(qids,str)@
>      @:xrpc_bat(statuses,str)@
>      @:xrpc_bat(timeouts,lng)@
> @@ -886,7 +883,9 @@
>      @:xrpc_bat(wsbats,bat)@
>  
>      @:xrpc_bat(trusted,str)@
> +    xrpc_trusted = xrpc_bat;
>      @:xrpc_bat(admin,str)@
> +    xrpc_admin = xrpc_bat;


Is there a particular reason to change this macro?

Jennie




More information about the developers-list mailing list