mirror of
https://github.com/MariaDB/server.git
synced 2025-11-10 23:02:54 +03:00
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.
98 KiB
98 KiB