Changeset: 5c2d208b7b1d for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=5c2d208b7b1d
Modified Files:
gdk/gdk_group.c
Branch: default
Log Message:
g can be void/nil when it's empty.
This fixes bug 3694.
diffs (12 lines):
diff --git a/gdk/gdk_group.c b/gdk/gdk_group.c
--- a/gdk/gdk_group.c
+++ b/gdk/gdk_group.c
@@ -385,7 +385,7 @@ BATgroup_internal(BAT **groups, BAT **ex
}
/* g is NULL or [oid(dense),oid] and same size as b */
assert(g == NULL || BAThdense(g));
- assert(g == NULL || BATttype(g) == TYPE_oid);
+ assert(g == NULL || BATttype(g) == TYPE_oid || BATcount(g) == 0);
assert(g == NULL || BATcount(b) == BATcount(g));
assert(g == NULL || BATcount(b) == 0 || b->hseqbase == g->hseqbase);
/* e is NULL or [oid(dense),oid] */
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list