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

Fix bug#53499 - purge thread is active during shutdown, assert buf/buf0buf.c line 4115.

Check that all background threads are suspended or shutdown instead of just
checking for the master thread.
rb://333
This commit is contained in:
Sunny Bains
2010-05-10 13:17:17 +10:00
parent 5995b23864
commit 34860f74e4
3 changed files with 23 additions and 17 deletions

View File

@ -639,12 +639,12 @@ srv_que_task_enqueue_low(
que_thr_t* thr); /*!< in: query thread */
/**********************************************************************//**
Check whether the master thread is active.
@return FALSE is it is not active. */
Check whether any background thread is active.
@return FALSE if all are are suspended or have exited. */
UNIV_INTERN
ibool
srv_is_master_thread_active(void);
/*==============================*/
srv_is_any_background_thread_active(void);
/*======================================*/
/** Status variables to be passed to MySQL */
struct export_var_struct{