Update of /cvsroot/monetdb/pathfinder/compiler/algebra
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv15240/algebra
Modified Files:
Tag: XQuery_0-22
physical.c
Log Message:
-- Testing (XMach-1/q8) correctly complains about the wrong input order.
kintersect seems to respect the order of the right operand instead of the
order of the left one.
Index: physical.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/physical.c,v
retrieving revision 1.55
retrieving revision 1.55.2.1
diff -u -d -r1.55 -r1.55.2.1
--- physical.c 31 Jan 2008 21:43:33 -0000 1.55
+++ physical.c 20 Feb 2008 15:05:22 -0000 1.55.2.1
@@ -718,9 +718,10 @@
/* ---- SemiJoin: orderings ---- */
/*
- * We preserve any ordering of the left operand.
+ * kintersect (the MIL implementation) preserves the
+ * ordering of the right operand.
*/
- ret->orderings = PFord_unique (n1->orderings);
+ ret->orderings = PFord_unique (n2->orderings);
/* ---- SemiJoin: costs ---- */
-------------------------------------------------------------------------
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