Loading sql/mysqld.cc +5 −1 Original line number Diff line number Diff line Loading @@ -649,7 +649,6 @@ static void close_connections(void) } #endif end_thr_alarm(0); // Abort old alarms. end_slave(); /* First signal all threads that it's time to die Loading @@ -665,6 +664,9 @@ static void close_connections(void) { DBUG_PRINT("quit",("Informing thread %ld that it's time to die", tmp->thread_id)); /* We skip slave threads on this first loop through. */ if (tmp->slave_thread) continue; tmp->killed= 1; if (tmp->mysys_var) { Loading @@ -681,6 +683,8 @@ static void close_connections(void) } (void) pthread_mutex_unlock(&LOCK_thread_count); // For unlink from list end_slave(); if (thread_count) sleep(2); // Give threads time to die Loading Loading
sql/mysqld.cc +5 −1 Original line number Diff line number Diff line Loading @@ -649,7 +649,6 @@ static void close_connections(void) } #endif end_thr_alarm(0); // Abort old alarms. end_slave(); /* First signal all threads that it's time to die Loading @@ -665,6 +664,9 @@ static void close_connections(void) { DBUG_PRINT("quit",("Informing thread %ld that it's time to die", tmp->thread_id)); /* We skip slave threads on this first loop through. */ if (tmp->slave_thread) continue; tmp->killed= 1; if (tmp->mysys_var) { Loading @@ -681,6 +683,8 @@ static void close_connections(void) } (void) pthread_mutex_unlock(&LOCK_thread_count); // For unlink from list end_slave(); if (thread_count) sleep(2); // Give threads time to die Loading