Changeset: 1740049df930 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/1740049df930 Modified Files: sql/storage/bat/bat_storage.c Branch: Jul2021 Log Message:
in segments2cs we expend the bat using the count returned from the segs_end, now we use this same count to end the bit setting (ie should prevent setting bits outside the bats heap size). diffs (12 lines): diff --git a/sql/storage/bat/bat_storage.c b/sql/storage/bat/bat_storage.c --- a/sql/storage/bat/bat_storage.c +++ b/sql/storage/bat/bat_storage.c @@ -332,6 +332,8 @@ segments2cs(sql_trans *tr, segments *seg uint32_t *restrict dst; for (; s ; s=s->next) { + if (s->start >= nr) + break; if (s->ts == tr->tid && s->end != s->start) { b->batDirtydesc = true; size_t lnr = s->end-s->start; _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list