Changeset: 1b8465489133 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=1b8465489133
Modified Files:
        monetdb5/optimizer/opt_projectionpath.c
Branch: default
Log Message:

Use addArgument in the situation where you have constructed
a MAL instruction not part of a MAL block


diffs (15 lines):

diff --git a/monetdb5/optimizer/opt_projectionpath.c 
b/monetdb5/optimizer/opt_projectionpath.c
--- a/monetdb5/optimizer/opt_projectionpath.c
+++ b/monetdb5/optimizer/opt_projectionpath.c
@@ -256,9 +256,9 @@ OPTprojectionpathImplementation(Client c
                                if ( getFunctionId(p) == projectionRef){
                                        if( r &&  getModuleId(r)== algebraRef 
&& ( getFunctionId(r)== projectionRef  || getFunctionId(r)== projectionpathRef) 
){
                                                for(k= r->retc; k<r->argc; k++) 
-                                                       q = 
pushArgument(mb,q,getArg(r,k));
+                                                       q = 
addArgument(mb,q,getArg(r,k));
                                        } else 
-                                               q = 
pushArgument(mb,q,getArg(p,j));
+                                               q = 
addArgument(mb,q,getArg(p,j));
                                }
                        }
                        if(q->argc<= p->argc){
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to