Changeset: e643369ae84a for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e643369ae84a
Modified Files:
monetdb5/modules/mal/array.mx
Branch: SciQL-2
Log Message:
AGGR_CLEANUP(): use local variable
diffs (18 lines):
diff --git a/monetdb5/modules/mal/array.mx b/monetdb5/modules/mal/array.mx
--- a/monetdb5/modules/mal/array.mx
+++ b/monetdb5/modules/mal/array.mx
@@ -536,10 +536,11 @@ ARRAYfiller(Client cntxt, MalBlkPtr mb,
# define AGGR_CLEANUP() \
{ \
+ int j; \
if (bVal) BBPreleaseref(bVal->batCacheid); \
- for (i = 0; i < ndims; i++) { \
- if(bDims[i]) BBPreleaseref(bDims[i]->batCacheid); \
- if(bOffsets[i]) BBPreleaseref(bOffsets[i]->batCacheid); \
+ for (j = 0; j < ndims; j++) { \
+ if(bDims[j]) BBPreleaseref(bDims[j]->batCacheid); \
+ if(bOffsets[j]) BBPreleaseref(bOffsets[j]->batCacheid); \
} \
if(bDims) GDKfree(bDims); \
if(bDimsT) GDKfree(bDimsT); \
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list