Changeset: 0f405a032413 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=0f405a032413 Modified Files: sql/storage/bat/bat_logger.c Branch: hot-snapshot Log Message:
Make path to WAL log relative like the others diffs (15 lines): diff --git a/sql/storage/bat/bat_logger.c b/sql/storage/bat/bat_logger.c --- a/sql/storage/bat/bat_logger.c +++ b/sql/storage/bat/bat_logger.c @@ -360,7 +360,10 @@ static const char* snapshot_wal(stream *plan) { stream *log = bat_logger->log; - char *log_file = mnstr_name(log); + char log_file[FILENAME_MAX]; + + // TODO replace %lld by the proper macro + sprintf(log_file, "%s%s.%lld", bat_logger->dir, LOGFILE, bat_logger->id); long pos = ftell(getFile(log)); if (pos < 0) return strerror(errno); _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list