Changeset: 453399fc2930 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=453399fc2930 Modified Files: gdk/gdk_group.c Branch: Oct2014 Log Message:
Simplified. diffs (21 lines): diff --git a/gdk/gdk_group.c b/gdk/gdk_group.c --- a/gdk/gdk_group.c +++ b/gdk/gdk_group.c @@ -684,7 +684,7 @@ BATgroup_internal(BAT **groups, BAT **ex } GDKfree(pgrp); - } else if (g == NULL && ATOMbasetype(b->ttype) == TYPE_bte) { + } else if (g == NULL && t == TYPE_bte) { /* byte-sized values, use 256 entry array to keep * track of doled out group ids; note that we can't * possibly have more than 256 groups, so the group id @@ -710,7 +710,7 @@ BATgroup_internal(BAT **groups, BAT **ex cnts[v]++; } GDKfree(bgrps); - } else if (g == NULL && ATOMbasetype(b->ttype) == TYPE_sht) { + } else if (g == NULL && t == TYPE_sht) { /* short-sized values, use 65536 entry array to keep * track of doled out group ids; note that we can't * possibly have more than 65536 groups, so the group _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list