Update of /cvsroot/monetdb/pathfinder/compiler/debug
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14603/debug

Modified Files:
        logdebug.c 
Log Message:
-- Extended the required value property to also infer 
   whether columns are only used in predicates.

-- Added rewrite that turns fn:number into the relaxed variant
   that ignores NaN values---values that cannot be cast---based
   on the observation if fn:number is applied on predicates only.


U logdebug.c
Index: logdebug.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/debug/logdebug.c,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -d -r1.99 -r1.100
--- logdebug.c  3 Apr 2008 08:57:10 -0000       1.99
+++ logdebug.c  7 Apr 2008 11:06:51 -0000       1.100
@@ -1087,6 +1087,18 @@
                     }
                 }
                 fst = true;
+                /* list filter columns */
+                for (unsigned int i = 0; i < n->schema.count; i++) {
+                    PFalg_att_t att = n->schema.items[i].name;
+                    if (PFprop_req_filter_col (n->prop, att)) {
+                        PFarray_printf (
+                            dot,
+                            fst ? "\\nfilter col: %s" : ", %s",
+                            PFatt_str (att));
+                        fst = false;
+                    }
+                }
+                fst = true;
                 /* list value columns */
                 for (unsigned int i = 0; i < n->schema.count; i++) {
                     PFalg_att_t att = n->schema.items[i].name;


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to