• anozdrin/alik@quad.'s avatar
    Fix for Bug#31222: com_% global status counters · d665fc3b
    anozdrin/alik@quad. authored
    behave randomly with mysql_change_user.
      
    The problem was that global status variables were not updated
    in THD::check_user(), so thread statistics were lost after
    COM_CHANGE_USER.
      
    The fix is to update global status variables with the thread ones
    before preparing the thread for new user.
    d665fc3b
change_user.result 1.15 KB