Changeset: ebae1102534d for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=ebae1102534d
Modified Files:
monetdb5/modules/kernel/group.c
Branch: default
Log Message:
GRPsubgroup5(): make sure we don't ask BATgroup() to produce a histogram,
in case GRPsubgroup5() is asked not to produce a histogram.
(For no only compilation tested;
functionality and performance not tested, yet ...)
diffs (12 lines):
diff --git a/monetdb5/modules/kernel/group.c b/monetdb5/modules/kernel/group.c
--- a/monetdb5/modules/kernel/group.c
+++ b/monetdb5/modules/kernel/group.c
@@ -37,7 +37,7 @@ GRPsubgroup5(bat *ngid, bat *next, bat *
BBPunfix(h->batCacheid);
throw(MAL, gid ? "group.subgroup" : "group.group",
RUNTIME_OBJECT_MISSING);
}
- if ((r = BATgroup(&gn, &en, &hn, b, s, g, e, h)) == GDK_SUCCEED) {
+ if ((r = BATgroup(&gn, &en, nhis ? &hn : NULL, b, s, g, e, h)) ==
GDK_SUCCEED) {
*ngid = gn->batCacheid;
*next = en->batCacheid;
if (nhis){
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list