Changeset: 91e3032973da for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/91e3032973da
Modified Files:
gdk/gdk_logger.c
Branch: logger-cleanup
Log Message:
properly check for disabled log files
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
@@ -2882,6 +2882,8 @@ log_delta(logger *lg, BAT *uid, BAT *uva
static inline bool
check_rotation_conditions(logger *lg) {
+ if (LOG_DISABLED(lg))
+ return false;
if (lg->current->next)
return false; /* do not rotate if there is already a prepared
next current */
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]