Changeset: a15c119693bd for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/a15c119693bd
Modified Files:
monetdb5/optimizer/opt_dict.c
Branch: dict
Log Message:
make sure we don't break the dataflow, ie don't assign a bat variable twice.
diffs (11 lines):
diff --git a/monetdb5/optimizer/opt_dict.c b/monetdb5/optimizer/opt_dict.c
--- a/monetdb5/optimizer/opt_dict.c
+++ b/monetdb5/optimizer/opt_dict.c
@@ -142,6 +142,7 @@ OPTdictImplementation(Client cntxt, MalB
int cand = getArg(p, j+1);
InstrPtr r = copyInstruction(p);
+ getArg(r, 0) =
newTmpVariable(mb, newBatType(TYPE_oid));
getArg(r, j) = vardictvalue[k];
if (cand)
r = ReplaceWithNil(mb,
r, j+1, TYPE_bat); /* no candidate list */
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list