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

also fake commit after load_*, ie mark all loaded objects as committed


diffs (14 lines):

diff --git a/sql/storage/store.c b/sql/storage/store.c
--- a/sql/storage/store.c
+++ b/sql/storage/store.c
@@ -1725,6 +1725,10 @@ store_load(sqlstore *store, sql_allocato
                nstore_oids = 0;
                return NULL;
        }
+       if (!store->first) {
+               if (sql_trans_commit(tr) != SQL_OK)
+                       TRC_CRITICAL(SQL_STORE, "Cannot commit initial 
transaction\n");
+       }
        tr->active = 0;
        GDKfree(store_oids);
        store_oids = NULL;
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to