Changeset: ea9e6f170a81 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/ea9e6f170a81
Modified Files:
sql/backends/monet5/rel_bin.c
Branch: pushcands
Log Message:
fallback on for aggregations, ie use current aggregated columns
diffs (12 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
@@ -1316,6 +1316,8 @@ exp_bin(backend *be, sql_exp *e, rel_bin
sql_exp *at = en->data;
as = exp_bin(be, at, left, /*right*/NULL,
depth+1, 0, push);
+ if (!as)
+ as = exp_bin(be, at, left, right,
depth+1, 0, push);
if (as && as->nrcols <= 0 && left)
as = stmt_const(be,
bin_find_smallest_column(be, left), as);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list