Changeset: 99d5abc121bb for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=99d5abc121bb
Modified Files:
        monetdb5/optimizer/opt_candidates.c
Branch: default
Log Message:

Use proper module name.


diffs (24 lines):

diff --git a/monetdb5/optimizer/opt_candidates.c 
b/monetdb5/optimizer/opt_candidates.c
--- a/monetdb5/optimizer/opt_candidates.c
+++ b/monetdb5/optimizer/opt_candidates.c
@@ -50,14 +50,16 @@ OPTcandidatesImplementation(Client cntxt
                                setVarCList(mb,getArg(p,0));
                        if(getFunctionId(p) == firstnRef )
                                setVarCList(mb,getArg(p,0));
+                       if(getFunctionId(p) == crossRef ){
+                               setVarCList(mb,getArg(p,0));
+                               setVarCList(mb,getArg(p,1));
+                       }
+               }
+               if( getModuleId(p) == batRef){
                        if(getFunctionId(p) == mergecandRef )
                                setVarCList(mb,getArg(p,0));
                        if(getFunctionId(p) == intersectcandRef )
                                setVarCList(mb,getArg(p,0));
-                       if(getFunctionId(p) == crossRef ){
-                               setVarCList(mb,getArg(p,0));
-                               setVarCList(mb,getArg(p,1));
-                       }
                }
                if( getModuleId(p) == generatorRef){
                        if(getFunctionId(p) == subselectRef || getFunctionId(p) 
== thetasubselectRef)
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to