Changeset: 7adb07803fbe for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=7adb07803fbe Modified Files: MonetDB5/src/optimizer/opt_mergetable.mx Branch: Jun2010 Log Message:
one more fix of mergetable This fix indicates that also value join(s) need to be handled on a table scale, this because of the projection phase which may now get unaligned bats diffs (13 lines): diff -r 07ac8508edec -r 7adb07803fbe MonetDB5/src/optimizer/opt_mergetable.mx --- a/MonetDB5/src/optimizer/opt_mergetable.mx Tue Aug 17 15:10:01 2010 +0200 +++ b/MonetDB5/src/optimizer/opt_mergetable.mx Tue Aug 17 23:03:33 2010 +0200 @@ -1610,7 +1610,8 @@ is different, ie result-head equals head-1st arg, result-tail equals head-2nd/3rd arg */ - if (match > 0 && match <= 2 && isMatJoinOp(p) && p->argc == 3) { + if (match > 0 && match <= 2 && isMatJoinOp(p) && + (p->argc == 3 || (p->argc == 4 && getFunctionId(p) == thetajoinRef))) { m = isMATalias(getArg(p,1), mat, mtop); n = isMATalias(getArg(p,2), mat, mtop); if ((m = mat_join(mb, p, mat, mtop, m, n)) < 0) _______________________________________________ Checkin-list mailing list Checkin-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/checkin-list