Update of /cvsroot/monetdb/pathfinder/compiler/algebra
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3590/algebra
Modified Files:
Tag: XQuery_0-24
planner.c
Log Message:
-- Added missing consistency check for the thetajoin planning.
U planner.c
Index: planner.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/planner.c,v
retrieving revision 1.62.2.4
retrieving revision 1.62.2.5
diff -u -d -r1.62.2.4 -r1.62.2.5
--- planner.c 31 May 2008 07:31:40 -0000 1.62.2.4
+++ planner.c 31 May 2008 20:15:29 -0000 1.62.2.5
@@ -561,6 +561,7 @@
assert (L(n)->schema.count == 1);
assert (LL(n)->sem.thetajoin.count == 2);
assert (LL(n)->sem.thetajoin.pred[0].comp == alg_comp_eq);
+ assert (LL(n)->sem.thetajoin.pred[1].comp != alg_comp_ne);
assert (L(n)->sem.proj.items[0].old ==
LL(n)->sem.thetajoin.pred[0].left ||
L(n)->sem.proj.items[0].old ==
@@ -3146,6 +3147,7 @@
if (n->schema.count == 1 &&
LL(n)->sem.thetajoin.count == 2 &&
LL(n)->sem.thetajoin.pred[0].comp == alg_comp_eq &&
+ LL(n)->sem.thetajoin.pred[1].comp != alg_comp_ne &&
(L(n)->sem.proj.items[0].old ==
LL(n)->sem.thetajoin.pred[0].left ||
L(n)->sem.proj.items[0].old ==
-------------------------------------------------------------------------
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