1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

bug#21965 - replication

fix deadlock if master switches log file in parallell with "show master logs"
This commit is contained in:
jonas@perch.ndb.mysql.com
2006-09-04 13:43:34 +02:00
parent b60be73461
commit 96ff8b4c52
3 changed files with 15 additions and 5 deletions

View File

@ -177,6 +177,7 @@ public:
bool need_mutex);
int find_next_log(LOG_INFO* linfo, bool need_mutex);
int get_current_log(LOG_INFO* linfo);
int raw_get_current_log(LOG_INFO* linfo);
uint next_file_id();
inline bool is_open() { return log_type != LOG_CLOSED; }
inline char* get_index_fname() { return index_file_name;}