Changeset: 1840d594f301 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/1840d594f301
Modified Files:
        gdk/gdk_group.c
Branch: pushcands
Log Message:

Use correct index for group bat: it's aligned with candidate list.


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
@@ -922,7 +922,7 @@ BATgroup_internal(BAT **groups, BAT **ex
                 * doled out group ids; note that we can't possibly have
                 * more than 65536 goups, so the group id fits in a
                 * uint16_t */
-               GRP_small_values(16, 8, (uint16_t) (w[p] | (grps[p] << 8)));
+               GRP_small_values(16, 8, (uint16_t) (w[p] | (grps[r] << 8)));
        } 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
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to