Changeset: 33dc8ccd7e65 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=33dc8ccd7e65
Modified Files:
        monetdb5/modules/kernel/batcalc.mx
Branch: Aug2011
Log Message:

fixed bug 2861 (accum operations should reset the sort flag)


diffs (13 lines):

diff --git a/monetdb5/modules/kernel/batcalc.mx 
b/monetdb5/modules/kernel/batcalc.mx
--- a/monetdb5/modules/kernel/batcalc.mx
+++ b/monetdb5/modules/kernel/batcalc.mx
@@ -1076,6 +1076,9 @@ str CMDbataccum@2cst_@3_@4_@5(int *ret, 
 
        @:accumCst(@1,@3,@4,@5)@
 
+       bn->tsorted = 0;
+       BATkey(BATmirror(bn),FALSE);
+
        if (!(bn->batDirty&2)) bn = BATsetaccess(bn, BAT_READ); 
 
        BBPkeepref(*ret = bn->batCacheid);
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to