diff options
author | unknown <sasha@mysql.sashanet.com> | 2001-07-04 17:14:31 -0600 |
---|---|---|
committer | unknown <sasha@mysql.sashanet.com> | 2001-07-04 17:14:31 -0600 |
commit | bb9da6021ccd4ae4b2eab46b9125c6a1ee62bd33 (patch) | |
tree | 7de23b11fd755130471c9d86c87da861f6161272 /sql/sql_repl.h | |
parent | 2752103dba17e2c96f72e121b36fe4fd8b3e2d61 (diff) | |
download | mariadb-git-bb9da6021ccd4ae4b2eab46b9125c6a1ee62bd33.tar.gz |
SHOW NEW MASTER FOR SLAVE WITH ...
include/mysqld_error.h:
new error message
mysql-test/r/rpl_log.result:
updated results
mysql-test/t/rpl_log.test:
test show new master for slave
sql/lex.h:
show new master for slave
sql/share/czech/errmsg.txt:
new error
sql/share/danish/errmsg.txt:
new error
sql/share/dutch/errmsg.txt:
new error
sql/share/english/errmsg.txt:
new error
sql/share/estonian/errmsg.txt:
new error
sql/share/french/errmsg.txt:
new error
sql/share/german/errmsg.txt:
new error
sql/share/greek/errmsg.txt:
new error
sql/share/hungarian/errmsg.txt:
new error
sql/share/italian/errmsg.txt:
new error
sql/share/japanese/errmsg.txt:
new error
sql/share/korean/errmsg.txt:
new error
sql/share/norwegian-ny/errmsg.txt:
new error
sql/share/norwegian/errmsg.txt:
new error
sql/share/polish/errmsg.txt:
new error
sql/share/portuguese/errmsg.txt:
new error
sql/share/romanian/errmsg.txt:
new error
sql/share/russian/errmsg.txt:
new error
sql/share/slovak/errmsg.txt:
new error
sql/share/spanish/errmsg.txt:
new error
sql/share/swedish/errmsg.txt:
new error
sql/sql_lex.h:
show new master for slave
sql/sql_parse.cc:
show new master for slave
sql/sql_repl.cc:
show new master for slave
sql/sql_repl.h:
show new master for slave
sql/sql_yacc.yy:
show new master for slave
Diffstat (limited to 'sql/sql_repl.h')
-rw-r--r-- | sql/sql_repl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/sql_repl.h b/sql/sql_repl.h index a988658ed68..7d40f22d8fb 100644 --- a/sql/sql_repl.h +++ b/sql/sql_repl.h @@ -33,8 +33,12 @@ int stop_slave(THD* thd = 0, bool net_report = 1); int load_master_data(THD* thd); int connect_to_master(THD *thd, MYSQL* mysql, MASTER_INFO* mi); int change_master(THD* thd); +int show_new_master(THD* thd); int show_slave_hosts(THD* thd); int show_binlog_events(THD* thd); +int translate_master(THD* thd, LEX_MASTER_INFO* mi, char* errmsg); +int cmp_master_pos(const char* log_file_name1, ulonglong log_pos1, + const char* log_file_name2, ulonglong log_pos2); void reset_slave(); void reset_master(); void init_slave_list(); |