Update of /cvsroot/monetdb/sql/src/server
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv30710/src/server

Modified Files:
        rel_bin.mx 
Log Message:
propagated changes of Thursday Sep 03 2009 - Friday Sep 04 2009
from the Aug2009 branch to the development trunk

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/09/03 - nielsnes: src/server/rel_bin.mx,1.87.2.4
make sure that we also handle selections with on both sides columns
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Index: rel_bin.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/rel_bin.mx,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -d -r1.90 -r1.91
--- rel_bin.mx  18 Aug 2009 11:41:19 -0000      1.90
+++ rel_bin.mx  4 Sep 2009 11:52:43 -0000       1.91
@@ -511,6 +511,10 @@
                        r = exp_bin(sql, e->r, left, NULL, grp, sel);
                        is_select = 1;
                }
+               if (!r && swapped) {
+                       r = exp_bin(sql, e->r, right, NULL, grp, sel);
+                       is_select = 1;
+               }
                if (re2)
                        r2 = exp_bin(sql, e->f, left, right, grp, sel);
                if (!l || !r || (re2 && !r2)) {


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to