Changeset: 010d1ad2adcd for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=010d1ad2adcd Modified Files: sql/backends/monet5/sql.c Branch: Oct2014 Log Message:
make sure we don't mark the epression func = const as a point query diffs (15 lines): diff --git a/sql/backends/monet5/sql.c b/sql/backends/monet5/sql.c --- a/sql/backends/monet5/sql.c +++ b/sql/backends/monet5/sql.c @@ -63,8 +63,9 @@ exp_is_point_select(sql_exp *e) return 1; if (e->type == e_cmp && !e->f && e->flag == (int) cmp_equal) { sql_exp *r = e->r; - - if (r->card <= CARD_AGGR) + sql_exp *l = e->l; + + if (!is_func(l->type) && r->card <= CARD_AGGR) return 1; } return 0; _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list