Changeset: 9f4dbc1f1581 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/9f4dbc1f1581 Modified Files: gdk/gdk_batop.c Branch: Sep2022 Log Message:
Reinitialize iterator after possible reallocation of the heap. diffs (19 lines): diff --git a/gdk/gdk_batop.c b/gdk/gdk_batop.c --- a/gdk/gdk_batop.c +++ b/gdk/gdk_batop.c @@ -1411,6 +1411,7 @@ BATappend_or_update(BAT *b, BAT *p, cons } mskSetVal(b, updid, Tmskval(&ni, i)); } + bi = bat_iterator_nolock(b); } else if (autoincr) { if (pos < b->hseqbase || (!mayappend && pos + ni.count > hseqend)) { @@ -1439,6 +1440,7 @@ BATappend_or_update(BAT *b, BAT *p, cons bat_iterator_end(&ni); return GDK_FAIL; } + bi = bat_iterator_nolock(b); /* we copy all of n, so if there are nils in n we get * nils in b (and else we don't know) */ _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org