mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-34705: Binlog-in-engine: Implement PURGE BINARY LOGS
Still ToDo: is to restrict auto-purge so that it does not purge any binlog file with out-of-band data that might still be needed by a connected slave. Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
This commit is contained in:
@@ -39,6 +39,7 @@ int reset_master(THD* thd, rpl_gtid *init_state, uint32 init_state_len,
|
||||
bool purge_master_logs(THD* thd, const char* to_log);
|
||||
bool purge_master_logs_before_date(THD* thd, time_t purge_time);
|
||||
int log_in_use(const char* log_name, uint min_connections);
|
||||
std::pair<uint64_t, uint> engine_binlog_in_use();
|
||||
void adjust_linfo_offsets(my_off_t purge_offset);
|
||||
void show_binlogs_get_fields(THD *thd, List<Item> *field_list);
|
||||
bool show_binlogs(THD* thd);
|
||||
|
Reference in New Issue
Block a user