Changeset: d40990b548dd for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=d40990b548dd Modified Files: gdk/gdk_cand.c Branch: Jun2020 Log Message:
Use consistent 0 hseq for empty candidate lists. diffs (12 lines): diff --git a/gdk/gdk_cand.c b/gdk/gdk_cand.c --- a/gdk/gdk_cand.c +++ b/gdk/gdk_cand.c @@ -369,7 +369,7 @@ canditer_init(struct canditer *ci, BAT * assert(ci != NULL); if (s == NULL) { - if (b == NULL) { + if (b == NULL || BATcount(b) == 0) { /* trivially empty candidate list */ *ci = (struct canditer) { .tpe = cand_dense, _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list