Commit de047ecc authored by unknown's avatar unknown

srv0srv.c Eliminate another warning on HP-UX


innobase/srv/srv0srv.c:
  Eliminate another warning on HP-UX
parent 0e07d8f9
...@@ -899,8 +899,8 @@ void ...@@ -899,8 +899,8 @@ void
srv_create_utility_threads(void) srv_create_utility_threads(void)
/*============================*/ /*============================*/
{ {
os_thread_t thread; /* os_thread_t thread;
/* os_thread_id_t thr_id; */ os_thread_id_t thr_id; */
ulint i; ulint i;
mutex_enter(&kernel_mutex); mutex_enter(&kernel_mutex);
...@@ -913,7 +913,7 @@ srv_create_utility_threads(void) ...@@ -913,7 +913,7 @@ srv_create_utility_threads(void)
for (i = 0; i < 1; i++) { for (i = 0; i < 1; i++) {
/* thread = os_thread_create(srv_recovery_thread, NULL, &thr_id); */ /* thread = os_thread_create(srv_recovery_thread, NULL, &thr_id); */
ut_a(thread); /* ut_a(thread); */
} }
/* thread = os_thread_create(srv_purge_thread, NULL, &thr_id); /* thread = os_thread_create(srv_purge_thread, NULL, &thr_id);
...@@ -978,15 +978,15 @@ void ...@@ -978,15 +978,15 @@ void
srv_create_com_threads(void) srv_create_com_threads(void)
/*========================*/ /*========================*/
{ {
os_thread_t thread; /* os_thread_t thread;
/* os_thread_id_t thr_id; */ os_thread_id_t thr_id; */
ulint i; ulint i;
srv_n_threads[SRV_COM] = srv_n_com_threads; srv_n_threads[SRV_COM] = srv_n_com_threads;
for (i = 0; i < srv_n_com_threads; i++) { for (i = 0; i < srv_n_com_threads; i++) {
/* thread = os_thread_create(srv_com_thread, NULL, &thr_id); */ /* thread = os_thread_create(srv_com_thread, NULL, &thr_id); */
ut_a(thread); /* ut_a(thread); */
} }
} }
...@@ -1042,8 +1042,8 @@ void ...@@ -1042,8 +1042,8 @@ void
srv_create_worker_threads(void) srv_create_worker_threads(void)
/*===========================*/ /*===========================*/
{ {
os_thread_t thread; /* os_thread_t thread;
/* os_thread_id_t thr_id; */ os_thread_id_t thr_id; */
ulint i; ulint i;
srv_n_threads[SRV_WORKER] = srv_n_worker_threads; srv_n_threads[SRV_WORKER] = srv_n_worker_threads;
...@@ -1051,7 +1051,7 @@ srv_create_worker_threads(void) ...@@ -1051,7 +1051,7 @@ srv_create_worker_threads(void)
for (i = 0; i < srv_n_worker_threads; i++) { for (i = 0; i < srv_n_worker_threads; i++) {
/* thread = os_thread_create(srv_worker_thread, NULL, &thr_id); */ /* thread = os_thread_create(srv_worker_thread, NULL, &thr_id); */
ut_a(thread); /* ut_a(thread); */
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment