Changeset: a848907ae2a3 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/a848907ae2a3
Modified Files:
monetdb5/modules/mal/iterator.c
Branch: Jan2022
Log Message:
The MAL iterator view is key if the parent is, or if the count is <= 1.
diffs (13 lines):
diff --git a/monetdb5/modules/mal/iterator.c b/monetdb5/modules/mal/iterator.c
--- a/monetdb5/modules/mal/iterator.c
+++ b/monetdb5/modules/mal/iterator.c
@@ -101,7 +101,8 @@ ITRnextChunk(lng *res, bat *vid, bat *bi
}
/* printf("set bat chunk bound to " BUNFMT " - " BUNFMT " \n",
i, i+(BUN) *granule-1); */
- VIEWbounds(b, view, i, i + (BUN) * granule);
+ VIEWbounds(b, view, i, i + (BUN) *granule);
+ view->tkey = b->tkey | (*granule <= 1);
BAThseqbase(view, is_oid_nil(b->hseqbase) ? oid_nil : b->hseqbase + i);
BBPkeepref(*vid = view->batCacheid);
BBPunfix(b->batCacheid);
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]