1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Backport patch for Bug#31222 (com_% global status counters behave randomly

with mysql_change_user) to 5.0.
This commit is contained in:
Alexander Nozdrin
2009-01-15 12:36:34 +03:00
parent a08460b83a
commit 9a6e05d8b9
3 changed files with 39 additions and 0 deletions

View File

@ -3,3 +3,10 @@ execute stmt1;
Id User Host db Command Time State Info
number root localhost test Query time NULL show full processlist
deallocate prepare stmt1;
FLUSH STATUS;
SHOW GLOBAL STATUS LIKE 'com_select';
Variable_name Value
Com_select 101
SHOW GLOBAL STATUS LIKE 'com_select';
Variable_name Value
Com_select 101