Changeset: cc77b97ee60d for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=cc77b97ee60d
Modified Files:
sql/backends/monet5/rel_bin.c
Branch: batcalc-updated
Log Message:
fixed one more issue with aligning the candidates with the batcalc operations
diffs (20 lines):
diff --git a/sql/backends/monet5/rel_bin.c b/sql/backends/monet5/rel_bin.c
--- a/sql/backends/monet5/rel_bin.c
+++ b/sql/backends/monet5/rel_bin.c
@@ -670,10 +670,12 @@ exp_bin(backend *be, sql_exp *e, stmt *l
for (i=0, en = l->h; i<nrcands && en;
i++, en = en->next) {
stmt *s = en->data;
/* if handled use bat nil */
- if (s->cand)
- list_append(l, NULL);
- else
- list_append(l,sel);
+ if (s->nrcols) { /* only for
cols not values */
+ if (s->cand)
+ list_append(l,
NULL);
+ else
+
list_append(l,sel);
+ }
}
}
}
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list