From 77514fbc50eb9650cca695f5d6c928cf91e47e5d Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 21 Jun 2005 14:55:20 +0300 Subject: [PATCH] log0log.c: log_checkpoint_margin(): Correct a typo that was introduced when fixing gcc 4.0 warnings. innobase/log/log0log.c: log_checkpoint_margin(): Correct a typo that was introduced when fixing gcc 4.0 warnings. --- innobase/log/log0log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/innobase/log/log0log.c b/innobase/log/log0log.c index 5953262ece7..2f76bf450db 100644 --- a/innobase/log/log0log.c +++ b/innobase/log/log0log.c @@ -2064,7 +2064,7 @@ loop: /* A flush is urgent: we have to do a synchronous preflush */ sync = TRUE; - advance = 2 * (age - log->max_modified_age_async); + advance = 2 * (age - log->max_modified_age_sync); } else if (age > log->max_modified_age_async) { /* A flush is not urgent: we do an asynchronous preflush */