summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
authormarko@hundin.mysql.fi <>2005-06-21 14:55:20 +0300
committermarko@hundin.mysql.fi <>2005-06-21 14:55:20 +0300
commit8cff472a83dd3cd6ee23e200fada381f1231895f (patch)
tree9aec63155d6336282925652adb359ef4492ba660 /innobase
parenta5cbbb703136c4b81c8a1bd6ce63370144dd45fa (diff)
downloadmariadb-git-8cff472a83dd3cd6ee23e200fada381f1231895f.tar.gz
log0log.c:
log_checkpoint_margin(): Correct a typo that was introduced when fixing gcc 4.0 warnings.
Diffstat (limited to 'innobase')
-rw-r--r--innobase/log/log0log.c2
1 files changed, 1 insertions, 1 deletions
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 */