Update of /cvsroot/monetdb/pathfinder/compiler/algebra/opt
In directory
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv22929/compiler/algebra/opt
Modified Files:
Tag: M5XQ
opt_mvd.c
Log Message:
propagated changes of Thursday Mar 18 2010
from the XQFT branch to the M5XQ branch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2010/03/18 - sjoerd: compiler/algebra/opt/opt_mvd.c,1.56.2.2
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/opt/opt_mvd.c,1.58
-- 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: opt_mvd.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/opt/opt_mvd.c,v
retrieving revision 1.50.2.7
retrieving revision 1.50.2.8
diff -u -d -r1.50.2.7 -r1.50.2.8
--- opt_mvd.c 7 Jan 2010 16:57:09 -0000 1.50.2.7
+++ opt_mvd.c 18 Mar 2010 11:45:27 -0000 1.50.2.8
@@ -1913,10 +1913,16 @@
/* re-route operators in case the underlying
rowid operator is ignored by the DAG-branch. */
if (L(p) && L(p)->kind == la_rowid &&
+ /* We know that no new rowid operators without properties
+ are introduced and thus !PFprop_icol... still returns
+ the correct result. */
!PFprop_icol_left (p->prop, L(p)->sem.rowid.res)) {
L(p) = PFla_attach (LL(p), L(p)->sem.rowid.res, PFalg_lit_nat(1));
}
if (R(p) && R(p)->kind == la_rowid &&
+ /* We know that no new rowid operators without properties
+ are introduced and thus !PFprop_icol... still returns
+ the correct result. */
!PFprop_icol_right (p->prop, R(p)->sem.rowid.res)) {
R(p) = PFla_attach (RL(p), R(p)->sem.rowid.res, PFalg_lit_nat(1));
}
------------------------------------------------------------------------------
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