diff options
author | unknown <sasha@mysql.sashanet.com> | 2000-10-26 22:11:55 -0600 |
---|---|---|
committer | unknown <sasha@mysql.sashanet.com> | 2000-10-26 22:11:55 -0600 |
commit | add02ff882e168edc2cf5d4f24796e788b31634c (patch) | |
tree | 1b71072bebf724dd061370737f97c2a08a176ae3 /sql/sql_repl.h | |
parent | 293d7c8313ba8faa41f39d06617a542e337d8883 (diff) | |
download | mariadb-git-add02ff882e168edc2cf5d4f24796e788b31634c.tar.gz |
fixed --skip-slave-thread bug
added PURGE MASTER LOGS TO and SHOW MASTER LOGS
fixed the output of SHOW MASTER STATUS
updated docs
Docs/manual.texi:
Update for PURGE MASTER LOGS TO, SHOW MASTER LOGS
sql/lex.h:
added PURGE
sql/log.cc:
update for PURGE
BitKeeper/etc/ignore:
Added include/.my_sys.h.swp PENDING/2000-10-25.01 PENDING/2000-10-25.02 support-files/mysql-3.23.27-beta.spec to the ignore list
sql/mysqld.cc:
fixed bug in --skip-slave-start
sql/sql_class.cc:
added linfo to THD
sql/sql_class.h:
updates for PURGE
sql/sql_lex.h:
updates for PURGE
sql/sql_parse.cc:
updates for PURGE
sql/sql_repl.cc:
updates for PURGE
sql/sql_repl.h:
updates for PURGE
sql/sql_yacc.yy:
updates for PURGE
Diffstat (limited to 'sql/sql_repl.h')
-rw-r--r-- | sql/sql_repl.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/sql_repl.h b/sql/sql_repl.h index 9c8d43bda54..a0b60497773 100644 --- a/sql/sql_repl.h +++ b/sql/sql_repl.h @@ -14,7 +14,10 @@ int stop_slave(THD* thd = 0, bool net_report = 1); int change_master(THD* thd); void reset_slave(); void reset_master(); - +int purge_master_logs(THD* thd, const char* to_log); +bool log_in_use(const char* log_name); +void adjust_linfo_offsets(my_off_t purge_offset); +int show_binlogs(THD* thd); extern int init_master_info(MASTER_INFO* mi); void kill_zombie_dump_threads(uint32 slave_server_id); |