Changeset: 8661f60a6882 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/8661f60a6882
Modified Files:
        sql/server/rel_psm.c
Branch: default
Log Message:

merged with Jun2023


diffs (12 lines):

diff --git a/sql/server/rel_psm.c b/sql/server/rel_psm.c
--- a/sql/server/rel_psm.c
+++ b/sql/server/rel_psm.c
@@ -950,7 +950,7 @@ rel_create_func(sql_query *query, dlist 
 
                sql->params = NULL;
                if (create) {
-                       bit side_effect = (list_empty(restype) || 
list_empty(l)); /* TODO make this more precise? */
+                       bit side_effect = (list_empty(restype) || (!vararg && 
list_empty(l))); /* TODO make this more precise? */
                        switch (mvc_create_func(&f, sql, sql->sa, s, fname, l, 
restype, type, lang, mod, imp, lang_body, (type == F_LOADER)?TRUE:FALSE, 
vararg, FALSE, side_effect)) {
                                case -1:
                                        return sql_error(sql, 01, 
SQLSTATE(HY013) MAL_MALLOC_FAIL);
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to