mirror of
https://github.com/MariaDB/server.git
synced 2025-12-16 22:03:23 +03:00
Remove srv_sys->operational since it is unused.
This commit is contained in:
@@ -546,9 +546,6 @@ struct export_var_struct{
|
|||||||
|
|
||||||
/* The server system struct */
|
/* The server system struct */
|
||||||
struct srv_sys_struct{
|
struct srv_sys_struct{
|
||||||
os_event_t operational; /* created threads must wait for the
|
|
||||||
server to become operational by
|
|
||||||
waiting for this event */
|
|
||||||
srv_table_t* threads; /* server thread table */
|
srv_table_t* threads; /* server thread table */
|
||||||
UT_LIST_BASE_NODE_T(que_thr_t)
|
UT_LIST_BASE_NODE_T(que_thr_t)
|
||||||
tasks; /* task queue */
|
tasks; /* task queue */
|
||||||
|
|||||||
@@ -887,10 +887,6 @@ srv_init(void)
|
|||||||
srv_meter_foreground[i] = 250;
|
srv_meter_foreground[i] = 250;
|
||||||
}
|
}
|
||||||
|
|
||||||
srv_sys->operational = os_event_create(NULL);
|
|
||||||
|
|
||||||
ut_a(srv_sys->operational);
|
|
||||||
|
|
||||||
UT_LIST_INIT(srv_sys->tasks);
|
UT_LIST_INIT(srv_sys->tasks);
|
||||||
|
|
||||||
/* create dummy table and index for old-style infimum and supremum */
|
/* create dummy table and index for old-style infimum and supremum */
|
||||||
@@ -2188,7 +2184,6 @@ srv_master_thread(
|
|||||||
|
|
||||||
mutex_exit(&kernel_mutex);
|
mutex_exit(&kernel_mutex);
|
||||||
|
|
||||||
os_event_set(srv_sys->operational);
|
|
||||||
loop:
|
loop:
|
||||||
/*****************************************************************/
|
/*****************************************************************/
|
||||||
/* ---- When there is database activity by users, we cycle in this
|
/* ---- When there is database activity by users, we cycle in this
|
||||||
|
|||||||
Reference in New Issue
Block a user