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

Modified Files:
        opt_support.mx 
Log Message:
Keep the code to collect MAL coverage 
The MAT optimizer deals with insert/append and kdifference is an
accumulator operator.


Index: opt_support.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/optimizer/opt_support.mx,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- opt_support.mx      17 Aug 2007 13:56:57 -0000      1.47
+++ opt_support.mx      19 Aug 2007 07:36:13 -0000      1.48
@@ -632,6 +632,17 @@
                        printFunction(GDKout, mb, LIST_MAL_ALL);
                }
        }
+       /* code to collect all last versions to study code coverage  in SQL
+       {stream *fd;
+       char nme[25];
+       snprintf(nme,25,"/tmp/mal_%d",getpid());
+       fd= open_wastream(nme);
+       if( fd == NULL)
+               printf("Error in %s\n",nme);
+       printFunction(fd,mb,LIST_MAL_ALL);
+       stream_close(fd);
+       }
+       */
        return mb->errors;
 }
 @-
@@ -1162,7 +1173,6 @@
                                getFunctionId(p)==uselectRef ||
                                getFunctionId(p)==likeselectRef ||
                                getFunctionId(p)==markTRef ||
-                               getFunctionId(p)==kdifferenceRef ||
                                getFunctionId(p)== joinRef ||
                                getFunctionId(p)== semijoinRef
                        )       )  ||
@@ -1170,9 +1180,7 @@
                                getFunctionId(p)==reverseRef ||
                                getFunctionId(p)==mirrorRef ||
                                getFunctionId(p)== setAccessRef ||
-                               getFunctionId(p)== setWriteModeRef ||
-                               getFunctionId(p)== appendRef  ||
-                               getFunctionId(p)== deleteRef
+                               getFunctionId(p)== setWriteModeRef 
                        ) );
 }
 @}


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to