Changeset: c3ab5cb93db7 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=c3ab5cb93db7
Modified Files:
        sql/storage/store.c
Branch: nospare
Log Message:

drop new functions in the tmp schema on rollback.


diffs (19 lines):

diff --git a/sql/storage/store.c b/sql/storage/store.c
--- a/sql/storage/store.c
+++ b/sql/storage/store.c
@@ -7343,6 +7343,15 @@ sql_trans_reset_tmp(sql_trans *tr, int c
                        n = nxt;
                }
        }
+       if (tr->tmp->funcs.set) {
+               node *n;
+               for (n = tr->tmp->funcs.nelm; n; ) {
+                       node *nxt = n->next;
+                       list_remove_node(tr->tmp->funcs.set, n);
+                       n = nxt;
+               }
+               tr->tmp->funcs.nelm = NULL;
+       }
 }
 
 int
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to