Changeset: 25cd74554830 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=25cd74554830
Modified Files:
        sql/backends/monet5/rel_bin.c
Branch: pushdown
Log Message:

remove useless statements (was handled before loop)


diffs (18 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
@@ -1519,14 +1519,10 @@ rel2bin_basetable(backend *be, sql_rel *
                        if ((hash_index(i->type) && list_length(i->columns) <= 
1) || !idx_has_column(i->type))
                                continue;
                        s = stmt_idx(be, i, NULL/*dels*/, dels->partition);
-                       if (!col)
-                               col = s;
                } else {
                        sql_column *c = find_sql_column(t, oname);
 
                        s = stmt_col(be, c, NULL/*dels*/, dels->partition);
-                       if (!col)
-                               col = s;
                }
                s->tname = rname;
                s->cname = exp_name(exp);
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to