Update of /cvsroot/monetdb/MonetDB5/src/optimizer
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28347/src/optimizer

Modified Files:
        opt_joinpath.mx 
Log Message:
batifthen.mx: use (fast) direct assignments instead of bunfastins for 
ifthenelse (not for ifthen as it can be small as the input bat)
group.mx: return read only bats.

(rest small ident and whitespace fixes)


Index: opt_joinpath.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/optimizer/opt_joinpath.mx,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- opt_joinpath.mx     9 Dec 2007 16:21:11 -0000       1.13
+++ opt_joinpath.mx     11 Dec 2007 17:32:02 -0000      1.14
@@ -99,9 +99,10 @@
                                if(  getModuleId(r)== algebraRef && 
                                        ( getFunctionId(r)== joinRef  || 
getFunctionId(r)== joinPathRef) ){
                                        for(k= r->retc; k<r->argc; k++)
-                                               q= 
pushArgument(mb,q,getArg(r,k));
-                               } else
-                                               q= 
pushArgument(mb,q,getArg(p,j));
+                                               q = 
pushArgument(mb,q,getArg(r,k));
+                               } else {
+                                       q = pushArgument(mb,q,getArg(p,j));
+                               }
                        }
 #ifdef DEBUG_OPT_JOINPATH 
                        stream_printf(GDKout,"new joinPath instruction\n");


-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to