mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
fixed race condition in automatic binlog rotation
remove extension from binary log if the user specifies one to avoid non-rotatable logs fixed possible use of unitialized IO_CACHE in debug mode
This commit is contained in:
@ -189,6 +189,11 @@ static void free_string_array(DYNAMIC_ARRAY *a)
|
||||
|
||||
void end_slave()
|
||||
{
|
||||
pthread_mutex_lock(&LOCK_slave);
|
||||
while (slave_running)
|
||||
pthread_cond_wait(&COND_slave_stopped, &LOCK_slave);
|
||||
pthread_mutex_unlock(&LOCK_slave);
|
||||
|
||||
end_master_info(&glob_mi);
|
||||
if(do_table_inited)
|
||||
hash_free(&replicate_do_table);
|
||||
|
Reference in New Issue
Block a user