Update of /cvsroot/monetdb/pathfinder/compiler/algebra/prop
In directory
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv27950/compiler/algebra/prop
Modified Files:
prop_set.c
Log Message:
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.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- prop_set.c 7 Jan 2010 15:24:27 -0000 1.36
+++ prop_set.c 10 Mar 2010 14:54:46 -0000 1.37
@@ -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