Changeset: 16601cf45f44 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/16601cf45f44 Modified Files: monetdb5/optimizer/opt_mergetable.c Branch: Jul2021 Log Message:
Don't forget the bat.mirror case diffs (13 lines): diff --git a/monetdb5/optimizer/opt_mergetable.c b/monetdb5/optimizer/opt_mergetable.c --- a/monetdb5/optimizer/opt_mergetable.c +++ b/monetdb5/optimizer/opt_mergetable.c @@ -486,7 +486,8 @@ mat_apply(MalBlkPtr mb, InstrPtr p, matl { int matvar[8], fargument[8], k, l, parts = 0; - if (nrmats == 1 && (getFunctionId(p) == identityRef && getModuleId(p) == batcalcRef)) + if (nrmats == 1 && + ((getModuleId(p) == batcalcRef && getFunctionId(p) == identityRef) || (getModuleId(p) == batRef && getFunctionId(p) == mirrorRef))) return mat_apply1(mb, p, ml, is_a_mat(getArg(p,1),ml), 1); assert(nrmats <= 8); _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list