summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
authorunknown <marko@hundin.mysql.fi>2005-06-21 14:55:20 +0300
committerunknown <marko@hundin.mysql.fi>2005-06-21 14:55:20 +0300
commit77514fbc50eb9650cca695f5d6c928cf91e47e5d (patch)
tree9aec63155d6336282925652adb359ef4492ba660 /innobase
parent0bfbba10647a8a425e1b52a6db047f65db87b7f7 (diff)
downloadmariadb-git-77514fbc50eb9650cca695f5d6c928cf91e47e5d.tar.gz
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.
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 */