MDEV-8427 main.connect fails on ppc64el in 10.0 as of 1a8cf15d

Followup fix for bug#35074: update the second location where
max_used_connections is calculated (to be like the
first one).
This commit is contained in:
Sergei Golubchik 2016-02-10 17:00:31 +01:00
parent 9b9522a8b5
commit 48ea84f057

View File

@ -9404,7 +9404,7 @@ void refresh_status(THD *thd)
Set max_used_connections to the number of currently open Set max_used_connections to the number of currently open
connections. This is not perfect, but status data is not exact anyway. connections. This is not perfect, but status data is not exact anyway.
*/ */
max_used_connections= thread_count-delayed_insert_threads; max_used_connections= connection_count + extra_connection_count;
} }
#ifdef HAVE_PSI_INTERFACE #ifdef HAVE_PSI_INTERFACE