Update of /cvsroot/monetdb/sql/src/backends/monet5
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv20529/src/backends/monet5
Modified Files:
sql_gencode.mx
Log Message:
fix SQL IN (semijoin) / with union, ie add proper project(x) [x,any] -> [x,void]
U sql_gencode.mx
Index: sql_gencode.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/sql_gencode.mx,v
retrieving revision 1.331
retrieving revision 1.332
diff -u -d -r1.331 -r1.332
--- sql_gencode.mx 1 Aug 2009 14:47:29 -0000 1.331
+++ sql_gencode.mx 2 Aug 2009 19:56:39 -0000 1.332
@@ -538,7 +538,10 @@
}
break;
case st_const:{
- dump_2(sql, mb, s, algebraRef, projectRef);
+ if (s->op2.stval)
+ dump_2(sql, mb, s, algebraRef, projectRef);
+ else
+ dump_1(sql, mb, s, algebraRef, projectRef);
}
break;
case st_mark:{
------------------------------------------------------------------------------
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