Changeset: 974b8d3b1ed7 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/974b8d3b1ed7 Modified Files: gdk/gdk_logger.c Branch: Jul2021 Log Message:
Off-by-one error. logger_flush (and hence logger_next_logfile) is called with highest to-be-flushed id. diffs (12 lines): diff --git a/gdk/gdk_logger.c b/gdk/gdk_logger.c --- a/gdk/gdk_logger.c +++ b/gdk/gdk_logger.c @@ -2210,7 +2210,7 @@ logger_next_logfile(logger *lg, ulng ts) { if (!lg->pending || !lg->pending->next) return 0; - if (lg->pending->last_ts < ts) + if (lg->pending->last_ts <= ts) return lg->pending->id; return 0; } _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org