Commit 8cff472a authored by marko@hundin.mysql.fi's avatar marko@hundin.mysql.fi

log0log.c:

  log_checkpoint_margin(): Correct a typo that was introduced
  when fixing gcc 4.0 warnings.
parent a5cbbb70
...@@ -2064,7 +2064,7 @@ loop: ...@@ -2064,7 +2064,7 @@ loop:
/* A flush is urgent: we have to do a synchronous preflush */ /* A flush is urgent: we have to do a synchronous preflush */
sync = TRUE; 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) { } else if (age > log->max_modified_age_async) {
/* A flush is not urgent: we do an asynchronous preflush */ /* A flush is not urgent: we do an asynchronous preflush */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment