Changeset: 52c00ec62d26 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/52c00ec62d26
Modified Files:
sql/backends/monet5/rel_bin.c
Branch: pp_hashjoin
Log Message:
create materialized results also for other none materializing operators
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
@@ -8101,7 +8101,7 @@ rel2bin_materialize(backend *be, sql_rel
list *shared = NULL;
sql_rel *sharedproject = NULL;
if (r &&
- ((r->l && (is_simple_project(r->op) || is_munion(r->op)
|| (rel_is_ref(rel) && !is_groupby(r->op))))
+ ((r->l && (is_simple_project(r->op) || is_munion(r->op)
|| is_join(r->op) || is_select(r->op) || (rel_is_ref(rel) &&
!is_groupby(r->op))))
|| r->op == op_table) &&
(!top || be->mvc->type != Q_UPDATE)) {
sharedproject = r;
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]