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

merged with oct2020


diffs (31 lines):

diff --git a/sql/storage/store.c b/sql/storage/store.c
--- a/sql/storage/store.c
+++ b/sql/storage/store.c
@@ -2363,6 +2363,11 @@ cleanup_table(sql_table *t)
                for (int i = 0; i<spares; i++) {
                        for (node *m = spare_trans[i]->schemas.set->h; m; m = 
m->next) {
                                sql_schema * schema = m->data;
+
+                               if (schema->tables.dset) {
+                                       list_destroy(schema->tables.dset);
+                                       schema->tables.dset = NULL;
+                               }
                                node *o = find_sql_table_node(schema, 
t->base.id);
                                if (o) {
                                        list_remove_node(schema->tables.set, o);
@@ -4125,6 +4130,7 @@ rollforward_changeset_updates(sql_trans 
                        list_destroy(fs->dset);
                        fs->dset = NULL;
                }
+               /*
                if (!apply && ts->dset) {
                        for (n = ts->dset->h; ok == LOG_OK && n; n = n->next) {
                                sql_base *tb = n->data;
@@ -4133,6 +4139,7 @@ rollforward_changeset_updates(sql_trans 
                                        ok = rollforward_deletes(tr, tb, mode);
                        }
                }
+               */
                if (apply && ts->dset && !cf) {
                        list_destroy(ts->dset);
                        ts->dset = NULL;
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to