Changeset: f7b8d58d3762 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f7b8d58d3762
Modified Files:
        monetdb5/optimizer/opt_projectionpath.c
Branch: candidate-type
Log Message:

Merge with default branch.


diffs (16 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
@@ -236,8 +236,10 @@ OPTprojectionpathImplementation(Client c
                                
                                /* inject the complete sub-path */
 #ifdef DEBUG_OPT_PROJECTIONPATH
-                               fprintf(stderr,"#inject ");
-                               fprintInstruction(stderr,mb, 0, r, 
LIST_MAL_ALL);
+                               if (r) {
+                                       fprintf(stderr,"#inject ");
+                                       fprintInstruction(stderr,mb, 0, r, 
LIST_MAL_ALL);
+                               }
 #endif
                                if ( getFunctionId(p) == projectionRef){
                                        if( r &&  getModuleId(r)== algebraRef 
&& ( getFunctionId(r)== projectionRef  || getFunctionId(r)== projectionpathRef) 
){
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to