Changeset: 603d7da5e42d for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/603d7da5e42d Modified Files: gdk/gdk_join.c sql/backends/monet5/rel_bin.c Branch: Jul2021 Log Message:
Merged with Oct2020 diffs (32 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 @@ -4259,7 +4259,7 @@ rel2bin_insert(backend *be, sql_rel *rel if (idx_ins) pin = refs_find_rel(refs, prel); - if (constraint && !be->rowcount) + if (constraint) sql_insert_check_null(be, t, inserts->op4.lval); l = sa_list(sql->sa); @@ -5173,8 +5173,7 @@ sql_update(backend *be, sql_table *t, st list *l = sa_list(sql->sa); node *n; - if (!be->rowcount) - sql_update_check_null(be, t, updates); + sql_update_check_null(be, t, updates); /* check keys + get idx */ idx_updates = update_idxs_and_check_keys(be, t, rows, updates, l, NULL); @@ -5258,8 +5257,7 @@ rel2bin_update(backend *be, sql_rel *rel if (c) updates[c->colnr] = bin_find_column(be, update, ce->l, ce->r); } - if (!be->rowcount) - sql_update_check_null(be, t, updates); + sql_update_check_null(be, t, updates); /* check keys + get idx */ updcol = first_updated_col(updates, ol_length(t->columns)); _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list