• Sergey Vojtovich's avatar
    Maintain connection_count atomically · a61baa7a
    Sergey Vojtovich authored
    Removed LOCK_connection_count.
    
    Removed duplicate denied_connections and connection_errors_max_connection
    increment from create_new_thread(). Another increment done by
    CONNECT::close_with_error().
    
    Simplified away CONNECT::thread_count_incremented. Now close_with_error()
    is always called with connection_count incremented.
    
    Part of MDEV-19515 - Improve connect speed
    a61baa7a
sql_connect.cc 45.8 KB