Changeset: a2d0aed144f5 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a2d0aed144f5
Modified Files:
        monetdb5/modules/kernel/aggr.c
Branch: Jul2015
Log Message:

unfix quantile bat fixes Bug 3825


diffs (19 lines):

diff --git a/monetdb5/modules/kernel/aggr.c b/monetdb5/modules/kernel/aggr.c
--- a/monetdb5/modules/kernel/aggr.c
+++ b/monetdb5/modules/kernel/aggr.c
@@ -67,6 +67,7 @@ AGGRgrouped(bat *retval1, bat *retval2, 
                        return s;
                }
                bn = (*quantilefunc)(b, g, e, NULL, tp, qvalue, skip_nils, 1);
+               BBPunfix(quantile->batCacheid);
        }
        if (grpfunc2 && (*grpfunc2)(&bn, retval2 ? &cnts : NULL, b, g, e, NULL, 
tp, skip_nils, 1) != GDK_SUCCEED)
                bn = NULL;
@@ -662,6 +663,7 @@ AGGRsubgroupedExt(bat *retval1, bat *ret
                        }
                }
                bn = (*quantilefunc)(b, g, e, s, tp, qvalue, skip_nils, 
abort_on_error);
+               BBPunfix(q->batCacheid);
        }
        if (grpfunc2 && (*grpfunc2)(&bn, retval2 ? &cnts : NULL, b, g, e, s, 
tp, skip_nils, abort_on_error) != GDK_SUCCEED)
                bn = NULL;
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to