Changeset: 364d7e0a5972 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/364d7e0a5972 Modified Files: gdk/gdk_imprints.c Branch: default Log Message:
Delay initializing bat iterator so that we do it on the right bat. diffs (22 lines): diff --git a/gdk/gdk_imprints.c b/gdk/gdk_imprints.c --- a/gdk/gdk_imprints.c +++ b/gdk/gdk_imprints.c @@ -302,17 +302,16 @@ bool BATcheckimprints(BAT *b) { bool ret; - BATiter bi = bat_iterator(b); if (VIEWtparent(b)) { assert(b->timprints == NULL); b = BATdescriptor(VIEWtparent(b)); if (b == NULL) { - bat_iterator_end(&bi); return false; } } + BATiter bi = bat_iterator(b); MT_lock_set(&b->batIdxLock); if (b->timprints == (Imprints *) 1) { Imprints *imprints; _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org