Update of /cvsroot/monetdb/sql/src/server
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv16474/server
Modified Files:
Tag: Aug2009
rel_bin.mx
Log Message:
make sure that we also handle selections with on both sides columns
U rel_bin.mx
Index: rel_bin.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/rel_bin.mx,v
retrieving revision 1.87.2.3
retrieving revision 1.87.2.4
diff -u -d -r1.87.2.3 -r1.87.2.4
--- rel_bin.mx 18 Aug 2009 05:59:03 -0000 1.87.2.3
+++ rel_bin.mx 3 Sep 2009 20:44:48 -0000 1.87.2.4
@@ -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