• Sergey Vojtovich's avatar
    MDEV-8540 - Crash on server shutdown since 10.0.16 · 9d41dd2f
    Sergey Vojtovich authored
    For the purpose of reporting an error to error log, shutdown thread was
    attempting to access current_thd->variables.lc_messages->errmsgs->errmsgs.
    Whereas current_thd was NULL.
    
    We should log errors according to global lc_messages setting instead of
    session setting.
    9d41dd2f
log.cc 225 KB