Update of /cvsroot/monetdb/pathfinder/compiler/algebra/prop
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv21716/algebra/prop

Modified Files:
        prop_reqval.c 
Log Message:
-- Fixed bug in opt/opt_const.c

-- Extended domain based optimization with a case for semijoin operators
   (Copied the two rules in opt_dom.c to opt_complex.c to save some phases.)

-- Extended pattern for equi-join rewrites: If the cardinality does not matter
   we may even forget self-joins.

-- Extended optimization based on required values: We now look one operator
   ahead thus trying to bridge union operators if both input relations generate
   constant required value columns with different values.


Index: prop_reqval.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/prop/prop_reqval.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- prop_reqval.c       14 Feb 2007 10:01:23 -0000      1.18
+++ prop_reqval.c       21 Feb 2007 14:25:06 -0000      1.19
@@ -202,6 +202,10 @@
 
         case la_select:
             /* introduce new required value column */
+            n->prop->reqvals.name = union_ (n->prop->reqvals.name,
+                                            n->sem.select.att);
+            n->prop->reqvals.val = union_ (n->prop->reqvals.val,
+                                           n->sem.select.att);
             rv.name = union_ (rv.name, n->sem.select.att);
             rv.val = union_ (rv.val, n->sem.select.att);
             prop_infer_reqvals (L(n), rv);


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to