Changeset: a8061267d1bf for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a8061267d1bf Modified Files: sql/backends/monet5/rel_weld.c Branch: rel-weld Log Message:
rel_weld: get the correct exp name in join diffs (21 lines): diff --git a/sql/backends/monet5/rel_weld.c b/sql/backends/monet5/rel_weld.c --- a/sql/backends/monet5/rel_weld.c +++ b/sql/backends/monet5/rel_weld.c @@ -914,7 +914,7 @@ join_produce(backend *be, sql_rel *rel, for (en = rel->exps->h; en; en = en->next) { /* left cmp */ exp = ((sql_exp*)en->data)->l; - col_name = get_col_name(wstate->sa, exp, ANY); + col_name = get_col_name(wstate->sa, exp, REL); if (list_find(right_cols, col_name, (fcmp)strcmp)) { list_append(right_cmp_cols, col_name); } else { @@ -922,7 +922,7 @@ join_produce(backend *be, sql_rel *rel, } /* right cmp */ exp = ((sql_exp*)en->data)->r; - col_name = get_col_name(wstate->sa, exp, ANY); + col_name = get_col_name(wstate->sa, exp, REL); if (list_find(right_cols, col_name, (fcmp)strcmp)) { list_append(right_cmp_cols, col_name); } else { _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list