• Vladislav Vaintroub's avatar
    MDEV-8738 Application Verifier stop during server shutdown · 1216429c
    Vladislav Vaintroub authored
    The verifier exception is caused by using thread local storage key
    after key was deleted.
    
    my_free() used current_thd within malloc size callback, which does
    pthread_get_specific(THR_THD), but THR_THD is already deleted at this
    point.
    
    The fix moves pthread_key_delete() to a later point in shutdown.
    1216429c
mysqld.cc 342 KB