Changeset: 2d490d9d77be for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=2d490d9d77be
Modified Files:
monetdb5/scheduler/mut_pack.c
Branch: mutation
Log Message:
typos.
diffs (40 lines):
diff --git a/monetdb5/scheduler/mut_pack.c b/monetdb5/scheduler/mut_pack.c
--- a/monetdb5/scheduler/mut_pack.c
+++ b/monetdb5/scheduler/mut_pack.c
@@ -140,15 +140,9 @@ mutationPack(Client cntxt, Mutant m){
// second phase, replace matpack with its successor
for (i = 1; i < limit; i++)
if ( (p= old[i])){
- profiler = mb->profiler[i].trace;
-
- if ( packpc == i && getArgPos(p,mvar) < 0){
- pushInstruction(mb,newpack);
- pushInstruction(mb,p);
- continue;
- }
if (newpack && (pos = getArgPos(p, mvar)) >=0 )
{
+ profiler = mb->profiler[i].trace;
if (getModuleId(p) == algebraRef)
{
if (getFunctionId(p) == joinRef ||
getFunctionId(p)== leftjoinRef || getFunctionId(p) == subselectRef ||
getFunctionId(p) == thetasubselectRef){
@@ -208,13 +202,14 @@ mutationPack(Client cntxt, Mutant m){
}
pushInstruction(mb, p);
} else
+ if ( newpack && packpc == i-1 && getArgPos(p,mvar) < 0){
+ pushInstruction(mb,newpack);
+ pushInstruction(mb,p);
+ modified++;
+ } else
// handle non-partitioned operators
pushInstruction(mb,p);
- } else
- if ( packpc == i ){
- pushInstruction(mb,newpack);
- newpack = 0;
- }
+ }
if( newpack)
freeInstruction(newpack);
GDKfree(old);
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list