Update of /cvsroot/monetdb/sql/src/server
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv16975/src/server

Modified Files:
        sql_rel2bin.mx 
Log Message:
propagated changes of Saturday Jan 30 2010 - Sunday Jan 31 2010
from the Feb2010 branch to the development trunk

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2010/01/30 - nielsnes: src/server/sql_rel2bin.mx,1.144.2.1
  the select statements didn't get pushed through the diffs and unions anymore.
  Reason we added lots of 'st_alias'es around statements during the development
  of the relational version. These st_aliases are now handled correctly fixing
  the push down.
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Index: sql_rel2bin.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/sql_rel2bin.mx,v
retrieving revision 1.144
retrieving revision 1.145
diff -u -d -r1.144 -r1.145
--- sql_rel2bin.mx      10 Jan 2010 15:33:35 -0000      1.144
+++ sql_rel2bin.mx      31 Jan 2010 12:45:10 -0000      1.145
@@ -861,8 +861,9 @@
                stmt *op1 = stmt_dup(select->op1.stval);
 
                op1 = push_semijoin(op1, s);
+               op1 = stmt_unop(op1, sql_dup_func(select->op4.funcval));
                stmt_destroy(select);
-               return stmt_unop(op1, sql_dup_func(select->op4.funcval));
+               return op1;
        }
        if (select->type == st_binop) {
                stmt *op1 = stmt_dup(select->op1.stval);


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to