Changeset: 7b34ca3d1ae7 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=7b34ca3d1ae7
Modified Files:
        MonetDB5/src/optimizer/opt_mapreduce.mx
Branch: default
Log Message:

manually push such that the instruction isn't delayed until *after* the AVG 
instructions (that need this instruction)


diffs (16 lines):

diff -r 40496207a997 -r 7b34ca3d1ae7 MonetDB5/src/optimizer/opt_mapreduce.mx
--- a/MonetDB5/src/optimizer/opt_mapreduce.mx   Fri Jun 11 14:53:12 2010 +0200
+++ b/MonetDB5/src/optimizer/opt_mapreduce.mx   Fri Jun 11 15:29:49 2010 +0200
@@ -627,7 +627,11 @@
                                                        } else {
                                                                lastcol = 
lastcol->next =
                                                                        
alloca(sizeof(mapcol));
-                                                               copy = SINGLE;
+                                                               /* push 
manually to get consistent
+                                                                * comment 
marking (after kdifference) */
+                                                               
pushInstruction(map, p);
+                                                               
oreduce[i]->token = NOOPsymbol;
+                                                               copy = LEAVE;
                                                        }
                                                        lastcol->mapid = 
getArg(p, 0);
                                                        lastcol->reduceid = 
getArg(oreduce[i], 0);
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to