Changeset: a3576fd74f14 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a3576fd74f14
Modified Files:
sql/backends/monet5/sql.c
Branch: geo
Log Message:
Niels change to not consider expresions with functions to be point queries
diffs (17 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,9 +63,10 @@ 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)
- return 1;
+ sql_exp *l = e->l;
+
+ if (!is_func(l->type) && r->card <= CARD_AGGR)
+ return 1;
}
return 0;
}
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list