Changeset: 0456bf6618cb for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=0456bf6618cb
Modified Files:
gdk/gdk_logger.c
Branch: Jul2015
Log Message:
commit catalog changes after adding the dsnapshots bat
diffs (13 lines):
diff --git a/gdk/gdk_logger.c b/gdk/gdk_logger.c
--- a/gdk/gdk_logger.c
+++ b/gdk/gdk_logger.c
@@ -1576,6 +1576,9 @@ logger_new(int debug, const char *fn, co
if (BBPrename(lg->dsnapshots->batCacheid, bak) < 0)
logger_fatal("Logger_new: BBPrename to %s
failed", bak, 0, 0);
logger_add_bat(lg, lg->dsnapshots, "dsnapshots");
+
+ if (bm_subcommit(lg->catalog_bid, lg->catalog_nme,
lg->catalog_bid, lg->catalog_nme, lg->dcatalog, NULL, lg->debug) != GDK_SUCCEED)
+ logger_fatal("Logger_new: commit failed", 0, 0,
0);
}
}
lg->freed = logbat_new(TYPE_int, 1, TRANSIENT);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list