Comment 5 for bug 728082

Revision history for this message
Oleg Tsarev (tsarev) wrote :

Additional information. Concurrent_connection is update in increment_count_by_name ([client|user]_stats) and increment_count_by_id (thread_stats).

Before fix this information updated just after thread complete (and just for this thread), as result Concurrent_connection always zero.

After my fix, set_connection_stats clean all Concurrent_connections counter, and calculate it directly from every thread (set_connection_stats called on SHOW [CLIENT|THREAD|USER]_STATS).