Changeset: e0013d763b3c for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e0013d763b3c Modified Files: sql/server/rel_select.c Branch: default Log Message:
If a table returning function has no input parameters, it gets a NULL parameter list diffs (12 lines): diff --git a/sql/server/rel_select.c b/sql/server/rel_select.c --- a/sql/server/rel_select.c +++ b/sql/server/rel_select.c @@ -599,7 +599,7 @@ rel_named_table_function(sql_query *quer } } - e = find_table_function(sql, s, fname, exps, tl); + e = find_table_function(sql, s, fname, list_empty(exps) ? NULL : exps, tl); if (!e) return sql_error(sql, 02, SQLSTATE(42000) "SELECT: no such table returning function '%s'", fname); rel = sq; _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list