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

Modified Files:
      Tag: XQFT
        properties.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/properties.c,1.49
  -- 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: properties.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/properties.c,v
retrieving revision 1.47.10.1
retrieving revision 1.47.10.2
diff -u -d -r1.47.10.1 -r1.47.10.2
--- properties.c        7 Jan 2010 15:50:35 -0000       1.47.10.1
+++ properties.c        18 Mar 2010 10:34:49 -0000      1.47.10.2
@@ -120,6 +120,9 @@
     /* initialize composite key list */
     ret->ckeys = NULL;
 
+    /* initialize name origin list */
+    ret->name_origin = NULL;
+
     return ret;
 }
 
@@ -133,6 +136,7 @@
               bool key, bool fds, bool ocols, bool req_node,
               bool reqval, bool level, bool refctr,
               bool guides, bool ori_names, bool unq_names,
+              bool name_origin,
               PFla_op_t *root, PFguide_list_t *guide_list)
 {
     PFprop_create_prop (root);
@@ -175,6 +179,8 @@
         PFprop_infer_ocol (root);
     if (ori_names)
         PFprop_infer_ori_names (root);
+    if (name_origin)
+        PFprop_infer_name_origin (root);
     if (refctr)
         PFprop_infer_refctr (root);
 }


------------------------------------------------------------------------------
Download Intel® 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