Changeset: 72151ff2cc69 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/72151ff2cc69
Modified Files:
        sql/backends/monet5/sql_upgrades.c
Branch: Sep2022
Log Message:

add missing cleanup of the output tables


diffs (12 lines):

diff --git a/sql/backends/monet5/sql_upgrades.c 
b/sql/backends/monet5/sql_upgrades.c
--- a/sql/backends/monet5/sql_upgrades.c
+++ b/sql/backends/monet5/sql_upgrades.c
@@ -5119,6 +5119,8 @@ sql_update_sep2022(Client c, mvc *sql)
                        err = SQLstatementIntern(c, buf, "update", true, false, 
NULL);
                }
        }
+       res_table_destroy(output);
+       output = NULL;
 
        /* 16_tracelog */
        pos = snprintf(buf, bufsize, "select f.id from sys.schemas s, 
sys.functions f, sys.auths a, sys.privileges p, sys.auths g, sys.function_types 
ft, sys.privilege_codes pc where s.id = f.schema_id and f.id = p.obj_id and 
p.auth_id = a.id and p.grantor = g.id and p.privileges = pc.privilege_code_id 
and f.type = ft.function_type_id and s.name = 'sys' and f.name = 'tracelog' and 
ft.function_type_keyword = 'FUNCTION';\n");
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to