* Alexander Nozdrin <alik@stripped> [08/02/06 15:33]:
> ChangeSet@stripped, 2008-02-06 15:13:55+03:00, anozdrin@quad. +2 -0
> Fix for Bug#31222: com_% global status counters
> 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 patch is OK to push, but you may benefit from change_user
command of mysql-test-run added by Davi/Magnus.
See change_user.test in the main suite.
--
-- Konstantin Osipov Software Developer, Moscow, Russia
-- MySQL AB, www.mysql.com The best DATABASE COMPANY in the GALAXY