Changeset: 33a557136374 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=33a557136374 Modified Files: sql/backends/monet5/rel_bin.c Branch: Jun2020 Log Message:
Project the first column on the left side with the constant value, otherwise we get unaligned bats diffs (14 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 @@ -1105,7 +1105,9 @@ exp_bin(backend *be, sql_exp *e, stmt *l r2 = stmt_project(be, sel, r2); sel = NULL; } - s = stmt_uselect2(be, column(be, l), r, r2, (comp_type)e->flag, sel, is_anti(e)); + if (l->nrcols == 0) + l = stmt_const(be, bin_first_column(be, left), l); + s = stmt_uselect2(be, l, r, r2, (comp_type)e->flag, sel, is_anti(e)); } } else { /* value compare or select */ _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list