Removed duplicate thread cache check
It may be beneficial for slow-path, where new thread is to be created. However it is harmful for fast-path, where thread cache can fulfil request: it caused 2 extra loads of write-contended variables. Also shrink variables scope. Part of MDEV-19515 - Improve connect speed
Showing
Please register or sign in to comment