Changeset: c90201996340 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=c90201996340 Modified Files: sql/server/rel_optimizer.c Branch: Jun2016 Log Message:
fixed problem in push down of functions diffs (18 lines): diff --git a/sql/server/rel_optimizer.c b/sql/server/rel_optimizer.c --- a/sql/server/rel_optimizer.c +++ b/sql/server/rel_optimizer.c @@ -1390,12 +1390,12 @@ can_push_func(sql_exp *e, sql_rel *rel, if (e->f){ sql_subfunc *f = e->f; - if (math_unsafe(f)) + if (math_unsafe(f) || f->func->type != F_FUNC) return 0; } if (l) for (n = l->h; n && res; n = n->next) res &= can_push_func(n->data, rel, &lmust); - if (!lmust) + if (res && !lmust) return 1; (*must) |= lmust; return res; _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list