diff options
author | guilhem@mysql.com <> | 2004-03-10 16:56:28 +0100 |
---|---|---|
committer | guilhem@mysql.com <> | 2004-03-10 16:56:28 +0100 |
commit | 1c0d5ad25c1f530093586e7624ae3603ff719061 (patch) | |
tree | 46e90eed3c4eb4203616844eb60c039281f944ec /sql/slave.h | |
parent | 30541b324cddeac4c948fecc304dfdd86ee12a31 (diff) | |
download | mariadb-git-1c0d5ad25c1f530093586e7624ae3603ff719061.tar.gz |
Backporting parts of
ChangeSet 1.1620.12.1 and ChangeSet 1.1625.2.1
from 4.1. This makes the slave I/O thread flush the relay log
after every event, which provides additional safety in case
of brutal crash (reduces chances to lose a part of the relay log).
Diffstat (limited to 'sql/slave.h')
-rw-r--r-- | sql/slave.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/slave.h b/sql/slave.h index 8331e722a51..9877582d094 100644 --- a/sql/slave.h +++ b/sql/slave.h @@ -361,7 +361,7 @@ typedef struct st_table_rule_ent int init_slave(); void init_slave_skip_errors(const char* arg); -bool flush_master_info(MASTER_INFO* mi); +bool flush_master_info(MASTER_INFO* mi, bool flush_relay_log_cache); bool flush_relay_log_info(RELAY_LOG_INFO* rli); int register_slave_on_master(MYSQL* mysql); int terminate_slave_threads(MASTER_INFO* mi, int thread_mask, |