Changeset: 2f177aff76a7 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=2f177aff76a7
Modified Files:
monetdb5/extras/jaql/jaqlgencode.c
Branch: jacqueline
Log Message:
filter: fix bat return type in case of nequals
regression that went somehow unnoticed causing filter00 to fail
we should ensure that the return bat is :oid,:oid, not :oid,:chr
diffs (18 lines):
diff --git a/monetdb5/extras/jaql/jaqlgencode.c
b/monetdb5/extras/jaql/jaqlgencode.c
--- a/monetdb5/extras/jaql/jaqlgencode.c
+++ b/monetdb5/extras/jaql/jaqlgencode.c
@@ -493,6 +493,14 @@ dumpcomp(MalBlkPtr mb, tree *t, int elem
q = pushArgument(mb, q, e);
e = getArg(q, 0);
pushInstruction(mb, q);
+ q = newInstruction(mb, ASSIGNsymbol);
+ setModuleId(q, algebraRef);
+ setFunctionId(q, projectRef);
+ q = pushReturn(mb, q, newTmpVariable(mb, TYPE_any));
+ q = pushArgument(mb, q, e);
+ q = pushNil(mb, q, TYPE_oid);
+ e = getArg(q, 0);
+ pushInstruction(mb, q);
}
g = e;
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list