Changeset: b663c1a60e5e for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/b663c1a60e5e
Modified Files:
sql/server/rel_optimize_proj.c
Branch: balanced_union
Log Message:
Enables optimize_unions_topdown for mergetable munion
diffs (14 lines):
diff --git a/sql/server/rel_optimize_proj.c b/sql/server/rel_optimize_proj.c
--- a/sql/server/rel_optimize_proj.c
+++ b/sql/server/rel_optimize_proj.c
@@ -3314,7 +3314,9 @@ run_optimizer
bind_optimize_unions_topdown(visitor *v, global_props *gp)
{
(void) v;
- return gp->opt_level == 1 && gp->cnt[op_union] ?
rel_optimize_unions_topdown : NULL;
+ // TODO: remove this and default to munion
+ int op = mvc_debug_on(v->sql, 32) ? gp->cnt[op_munion] :
gp->cnt[op_union];
+ return gp->opt_level == 1 && op ? rel_optimize_unions_topdown : NULL;
}
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]