Changeset: 7e2648a6c85c for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/7e2648a6c85c
Modified Files:
        sql/server/rel_select.c
Branch: parquet
Log Message:

readd part for table returning functions


diffs (16 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
@@ -590,6 +590,12 @@ find_table_function(mvc *sql, char *snam
        int i = 0, *scores, nfunc;
 
        assert(type == F_UNION || type == F_LOADER);
+       if ((f = bind_func_(sql, sname, fname, tl, type, false, &found))) {
+               list *nexps = exps;
+               if (list_empty(tl) || f->func->vararg || (nexps = 
check_arguments_and_find_largest_any_type(sql, NULL, exps, f, 1)))
+                       return exp_op(sql->sa, nexps, f);
+               found = false;
+       }
        sql->session->status = 0; /* reset error */
        sql->errstr[0] = '\0';
        if (list_empty(tl) || !(ff = sql_find_funcs(sql, sname, fname, 
list_length(tl), type, false)) || list_empty(ff)) {
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to