Changeset: 3ded79fe4907 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=3ded79fe4907 Modified Files: monetdb5/optimizer/opt_mergetable.c Branch: Jul2015 Log Message:
Don't claim instruction was pushed when it wasn't. ml->v[piv] refers to the instruction "pck" that was added by the mat_add_var call. That instruction is never added to the MAL plan. This should fix bug 3732. diffs (11 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 @@ -1401,7 +1401,6 @@ mat_topn(MalBlkPtr mb, InstrPtr p, matli pushInstruction(mb,q); } - ml->v[piv].pushed = 1; ml->v[piv].packed = 1; ml->v[piv].type = mat_slc; } _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list