Changeset: a1234f60c17c for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a1234f60c17c Modified Files: gdk/gdk_logger.c Branch: default Log Message:
Don't use legacy interface in gdk_logger. diffs (25 lines): diff --git a/gdk/gdk_logger.c b/gdk/gdk_logger.c --- a/gdk/gdk_logger.c +++ b/gdk/gdk_logger.c @@ -1912,13 +1912,18 @@ log_tend(logger *lg) if (DELTAdirty(lg->snapshots_bid)) { /* sub commit all new snapshots */ - BAT *tids = BATuselect(lg->snapshots_tid, &lg->tid, &lg->tid); - BAT *bids = BATsemijoin(lg->snapshots_bid, tids); + BAT *tids, *bids; + tids = BATsubselect(lg->snapshots_tid, NULL, &lg->tid, &lg->tid, + TRUE, TRUE, FALSE); + if (tids == NULL) + return LOG_ERR; + bids = BATproject(tids, lg->snapshots_bid); BBPunfix(tids->batCacheid); if (bids == NULL) return LOG_ERR; - res = bm_subcommit(bids, NULL, lg->snapshots_bid, lg->snapshots_tid, NULL, lg->debug); + res = bm_subcommit(bids, NULL, lg->snapshots_bid, + lg->snapshots_tid, NULL, lg->debug); BBPunfix(bids->batCacheid); } l.flag = LOG_END; _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list