Changeset: 4c5005b6ff2b for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=4c5005b6ff2b Modified Files: gdk/gdk_project.c Branch: Jun2020 Log Message:
Some important fixes to project_str. diffs (20 lines): diff --git a/gdk/gdk_project.c b/gdk/gdk_project.c --- a/gdk/gdk_project.c +++ b/gdk/gdk_project.c @@ -302,7 +302,7 @@ project_str(BAT *restrict l, struct cand var_t v; if ((bn = COLnew(l->hseqbase, TYPE_str, ci ? ci->ncand : BATcount(l), - TRANSIENT)) != NULL) + TRANSIENT)) == NULL) return NULL; v = (var_t) r1->tvheap->free; @@ -326,6 +326,7 @@ project_str(BAT *restrict l, struct cand memset(bn->tvheap->base + r1->tvheap->free, 0, h1off - r1->tvheap->free); #endif memcpy(bn->tvheap->base + h1off, r2->tvheap->base, r2->tvheap->free); + bn->tvheap->free = h1off + r2->tvheap->free; } if (v >= ((var_t) 1 << (8 * bn->twidth)) && _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list