log0log.c:

log_checkpoint_margin(): Correct a typo that was introduced
  when fixing gcc 4.0 warnings.
This commit is contained in:
marko@hundin.mysql.fi 2005-06-21 14:55:20 +03:00
commit 8cff472a83

View file

@ -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 */