Update of /cvsroot/monetdb/pathfinder/compiler/algebra
In directory
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv22677/compiler/algebra
Modified Files:
Tag: M5XQ
planner.c
Log Message:
propagated changes of Thursday Mar 18 2010
from the XQFT branch to the M5XQ branch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2010/03/18 - sjoerd: compiler/algebra/planner.c,1.89.2.5
compiler/algebra/planner.c,1.89.2.4
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.83.2.9
retrieving revision 1.83.2.10
diff -u -d -r1.83.2.9 -r1.83.2.10
--- planner.c 7 Jan 2010 16:55:27 -0000 1.83.2.9
+++ planner.c 18 Mar 2010 11:44:48 -0000 1.83.2.10
@@ -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® 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