Update of /cvsroot/monetdb/pathfinder/compiler/sql
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30031/sql
Modified Files:
lalg2sql.brg
Log Message:
-- Fixed bug in semijoin implementation.
(We need to look up the join column in the new environment
instead of the old one whose column names might be already substituted.)
Index: lalg2sql.brg
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/sql/lalg2sql.brg,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -d -r1.107 -r1.108
--- lalg2sql.brg 20 Jan 2008 22:35:05 -0000 1.107
+++ lalg2sql.brg 22 Jan 2008 11:04:33 -0000 1.108
@@ -2675,7 +2675,7 @@
/* add the constraint coming from semijoin */
where_list_add (WHERELIST(p),
- eq (col_env_lookup (COLMAP(L(p)), att1, ty),
+ eq (col_env_lookup (COLMAP(p), att1, ty),
col_env_lookup (right->colmap, att2, ty)));
} break;
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins