Update of /cvsroot/monetdb/pathfinder/compiler/algebra
In directory 
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv9817/compiler/algebra

Modified Files:
      Tag: XQFT
        planner.c 
Log Message:
propagated changes of Wednesday Mar 17 2010 - Thursday Mar 18 2010
from the development trunk to the XQFT branch

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2010/03/17 - tsheyar: compiler/algebra/planner.c,1.93
  -- Introduced a new column-name-origin property that enhances the column names
     in the DOT generated algebra plans. If a column stems from a ref_tbl or a
     path step we now keep the original name throughout the plan.
     (Use pf-option -fN to print the mapping of original names.)
  
  -- Make property usage a little bit more defensive. Instead of !PFprop_icol
     a new function PFprop_not_icol is introduced that copes correctly with
     missing property information.
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Index: planner.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/planner.c,v
retrieving revision 1.89.2.3
retrieving revision 1.89.2.4
diff -u -d -r1.89.2.3 -r1.89.2.4
--- planner.c   7 Jan 2010 15:50:31 -0000       1.89.2.3
+++ planner.c   18 Mar 2010 10:34:45 -0000      1.89.2.4
@@ -368,10 +368,10 @@
 
     /* check if the output is independent of the left side */
     for (unsigned int i = 0; i < L(n)->schema.count; i++)
-        l_indep &= !PFprop_icol (n->prop, L(n)->schema.items[i].name);
+        l_indep &= PFprop_not_icol (n->prop, L(n)->schema.items[i].name);
     /* check if the output is independent of the right side */
     for (unsigned int i = 0; i < R(n)->schema.count; i++)
-        r_indep &= !PFprop_icol (n->prop, R(n)->schema.items[i].name);
+        r_indep &= PFprop_not_icol (n->prop, R(n)->schema.items[i].name);
     
     /* add plans with dependent cross products */
     if (l_indep ||


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to