diff options
author | msvensson@pilot.mysql.com <> | 2007-01-29 14:35:09 +0100 |
---|---|---|
committer | msvensson@pilot.mysql.com <> | 2007-01-29 14:35:09 +0100 |
commit | 719a8f5896bbb9effb09a39f31748f7ab8deabc7 (patch) | |
tree | bb2f6dac4fd53c5fa66ba9deb1b2cafbb6a08434 /sql/repl_failsafe.cc | |
parent | df4cfc0bc178c8dfc61e9c07c564ed73b38aeee6 (diff) | |
parent | 007d170ad2af225225844ac258c91b6766fb0a69 (diff) | |
download | mariadb-git-719a8f5896bbb9effb09a39f31748f7ab8deabc7.tar.gz |
Merge pilot.mysql.com:/home/msvensson/mysql/bug22943/my50-bug22943
into pilot.mysql.com:/home/msvensson/mysql/bug22943/my51-bug22943
Diffstat (limited to 'sql/repl_failsafe.cc')
-rw-r--r-- | sql/repl_failsafe.cc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sql/repl_failsafe.cc b/sql/repl_failsafe.cc index 48bc0f0f5b8..1b272361a19 100644 --- a/sql/repl_failsafe.cc +++ b/sql/repl_failsafe.cc @@ -57,6 +57,7 @@ static Slave_log_event* find_slave_event(IO_CACHE* log, functions like register_slave()) are working. */ +#if NOT_USED static int init_failsafe_rpl_thread(THD* thd) { DBUG_ENTER("init_failsafe_rpl_thread"); @@ -98,7 +99,7 @@ static int init_failsafe_rpl_thread(THD* thd) thd->set_time(); DBUG_RETURN(0); } - +#endif void change_rpl_status(RPL_STATUS from_status, RPL_STATUS to_status) { @@ -572,12 +573,14 @@ err: } +#if NOT_USED int find_recovery_captain(THD* thd, MYSQL* mysql) { return 0; } +#endif - +#if NOT_USED pthread_handler_t handle_failsafe_rpl(void *arg) { DBUG_ENTER("handle_failsafe_rpl"); @@ -625,7 +628,7 @@ err: pthread_exit(0); DBUG_RETURN(0); } - +#endif bool show_slave_hosts(THD* thd) { |