Update of /cvsroot/monetdb/pathfinder/compiler/algebra/prop
In directory
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv3857/compiler/algebra/prop
Modified Files:
Tag: XQFT
prop_set.c
Log Message:
propagated changes of Wednesday Mar 10 2010
from the development trunk to the XQFT branch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2010/03/10 - sjoerd: compiler/algebra/prop/prop_set.c,1.37
propagated changes of Tuesday Mar 09 2010 - Wednesday Mar 10 2010
from the Feb2010 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2010/03/09 - tsheyar: compiler/algebra/prop/prop_set.c,1.36.2.1
-- Performance fix in set property inference.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Index: prop_set.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/prop/prop_set.c,v
retrieving revision 1.35.2.1
retrieving revision 1.35.2.2
diff -u -d -r1.35.2.1 -r1.35.2.2
--- prop_set.c 7 Jan 2010 15:54:12 -0000 1.35.2.1
+++ prop_set.c 10 Mar 2010 15:15:01 -0000 1.35.2.2
@@ -421,6 +421,18 @@
break;
case la_difference:
+ /* Switch the set property from TRUE to MAYBE (TRUE+col)
+ if there is only a single column col and keep the MAYBE
+ information if it stores the same column name. */
+ if (n->prop->set && n->schema.count == 1) {
+ PFalg_col_t col = n->schema.items[0].name;
+ if ((n->prop->set_col && n->prop->set_col == col) ||
+ !n->prop->set_col) {
+ l_col = col;
+ l_set = true;
+ break;
+ }
+ }
/* the left argument may not prune duplicates
(as this might lead to more result tuples) */
l_set = false;
------------------------------------------------------------------------------
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