Changeset: 64151d5cdf17 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/64151d5cdf17 Modified Files: sql/backends/monet5/rel_bin.c Branch: pushcands Log Message:
we can now have inputs which have candidates from the input candidate list, but not yet the current casewhen condition candidate, ie added one more projection. diffs (13 lines): diff --git a/sql/backends/monet5/rel_bin.c b/sql/backends/monet5/rel_bin.c --- a/sql/backends/monet5/rel_bin.c +++ b/sql/backends/monet5/rel_bin.c @@ -915,6 +915,9 @@ exp2bin_casewhen(backend *be, sql_exp *f l = stmt_project(be, nsel, l); l->cand = nsel; } + } else if (rsel && es->cand && es->cand != nsel) { + es = stmt_project(be, rsel, es); + es->cand = nsel; } assert(l->cand == es->cand); } _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list