Changeset: ff8b1b418aa3 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=ff8b1b418aa3
Modified Files:
MonetDB5/src/optimizer/opt_mapreduce.mx
Branch: default
Log Message:
fix compilation failure opt_mapreduce.mx:400: variable "sum" was set but never
used
diffs (22 lines):
diff -r 820a7637cf5e -r ff8b1b418aa3 MonetDB5/src/optimizer/opt_mapreduce.mx
--- a/MonetDB5/src/optimizer/opt_mapreduce.mx Thu Jun 10 10:54:23 2010 +0200
+++ b/MonetDB5/src/optimizer/opt_mapreduce.mx Thu Jun 10 11:11:00 2010 +0200
@@ -397,18 +397,15 @@
* the column (original sole input) ...
I can't find
* counter cases */
if (trackstack_contains(&avgtrack,
getArg(p, j + 1))) {
- mapcol *sum, *count;
/* go from a single to two
columns */
lastcol->mapid = getArg(p, 1);
lastcol->reduceid =
getArg(oreduce[i], 1);
lastcol->type = getArgType(map,
p, 1);
- sum = lastcol;
lastcol = lastcol->next =
alloca(sizeof(mapcol));
lastcol->mapid = getArg(p, 2);
lastcol->reduceid =
getArg(oreduce[i], 2);
lastcol->type = getArgType(map,
p, 2);
lastcol->next = NULL;
- count = lastcol;
/* got it, time to copy
instructions */
j = i;
for (i = k + 1; i < j; i++) {
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list