Changeset: 7634a269bc78 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=7634a269bc78
Modified Files:
        monetdb5/modules/mal/mat.c
Branch: default
Log Message:

Three times a hit


diffs (12 lines):

diff --git a/monetdb5/modules/mal/mat.c b/monetdb5/modules/mal/mat.c
--- a/monetdb5/modules/mal/mat.c
+++ b/monetdb5/modules/mal/mat.c
@@ -475,7 +475,7 @@ MATmergepack(Client cntxt, MalBlkPtr mb,
                        if ( BATcount(b) ){
                                // pre-sort the arguments
                                onxt = *(oid*) Tloc(b,BUNfirst(b));
-                               for( j =top; j > 0 && onxt < *o_src[j]; j--){
+                               for( j =top; j > 0 && onxt < *o_src[j-1]; j--){
                                        o_src[j] = o_src[j-1];
                                        o_end[j] = o_end[j-1];
                                        bats[j] = bats[j-1];
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to