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

fixed a bug where computing oids for the update statements


diffs (12 lines):

diff --git a/monetdb5/modules/kernel/arrays.c b/monetdb5/modules/kernel/arrays.c
--- a/monetdb5/modules/kernel/arrays.c
+++ b/monetdb5/modules/kernel/arrays.c
@@ -63,7 +63,7 @@ static int computeOids(oid** oidsRes, BU
                        }
                }
        } else {
-               for(idx=currDim->min; idx<=currDim->max; idx+=currDim->step, 
currentOidsPos++) {
+               for(idx=currDim->min; idx<=currDim->max; idx+=currDim->step) {
                        /*let the other dimensions increase as many elemens as 
necessary*/
                        BUN nextOidsPos = computeOids(oidsRes, currentOidsPos, 
dimNum-1, array, dims, jumpSize);
                        /*update all the oids that were update by the other 
dimensions */
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to