| 8348 | |
| 8349 | #ifdef HAVE_POOL_OF_THREADS |
| 8350 | int show_threadpool_idle_threads(THD *thd, SHOW_VAR *var, char *buff) |
| 8351 | { |
| 8352 | var->type= SHOW_INT; |
| 8353 | var->value= buff; |
| 8354 | *(int *)buff= tp_get_idle_thread_count(); |
| 8355 | return 0; |
| 8356 | } |
| 8357 | #endif |
| 8358 | |
| 8359 | /* |
nothing calls this directly
no outgoing calls
no test coverage detected