Changeset: 46f29b20a774 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=46f29b20a774
Modified Files:
MonetDB5/src/optimizer/opt_mapreduce.mx
Branch: default
Log Message:
Since we already pushed the signature, make sure we don't loose it when it gets
extended due to lots of arguments
diffs (12 lines):
diff -r a51f602e668e -r 46f29b20a774 MonetDB5/src/optimizer/opt_mapreduce.mx
--- a/MonetDB5/src/optimizer/opt_mapreduce.mx Thu May 20 20:45:08 2010 +0200
+++ b/MonetDB5/src/optimizer/opt_mapreduce.mx Fri May 21 10:46:14 2010 +0200
@@ -597,7 +597,7 @@
* calling signature of the map program */
getArg(sig, 0) = -1; /* get rid of default retval */
for (lastcol = col; lastcol != NULL; lastcol =
lastcol->next)
- sig = pushReturn(mc, sig, lastcol->val1);
+ mc->stmt[0] = sig = pushReturn(mc, sig,
lastcol->val1);
MRdistributework(cntxt, mb, col, sig, mrcluster);
newComment(mb, "} map");
/* bogus instruction to be able to set to NOOP */
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list