cleanup: sort struct members by size
This commit is contained in:
parent
3f7cc414fe
commit
932eaf31e9
@ -287,18 +287,18 @@ typedef struct st_user_stats
|
|||||||
uint total_connections;
|
uint total_connections;
|
||||||
uint concurrent_connections;
|
uint concurrent_connections;
|
||||||
time_t connected_time; // in seconds
|
time_t connected_time; // in seconds
|
||||||
double busy_time; // in seconds
|
ha_rows rows_read, rows_sent;
|
||||||
double cpu_time; // in seconds
|
ha_rows rows_updated, rows_deleted, rows_inserted;
|
||||||
ulonglong bytes_received;
|
ulonglong bytes_received;
|
||||||
ulonglong bytes_sent;
|
ulonglong bytes_sent;
|
||||||
ulonglong binlog_bytes_written;
|
ulonglong binlog_bytes_written;
|
||||||
ha_rows rows_read, rows_sent;
|
|
||||||
ha_rows rows_updated, rows_deleted, rows_inserted;
|
|
||||||
ulonglong select_commands, update_commands, other_commands;
|
ulonglong select_commands, update_commands, other_commands;
|
||||||
ulonglong commit_trans, rollback_trans;
|
ulonglong commit_trans, rollback_trans;
|
||||||
ulonglong denied_connections, lost_connections, max_statement_time_exceeded;
|
ulonglong denied_connections, lost_connections, max_statement_time_exceeded;
|
||||||
ulonglong access_denied_errors;
|
ulonglong access_denied_errors;
|
||||||
ulonglong empty_queries;
|
ulonglong empty_queries;
|
||||||
|
double busy_time; // in seconds
|
||||||
|
double cpu_time; // in seconds
|
||||||
} USER_STATS;
|
} USER_STATS;
|
||||||
|
|
||||||
/* Lookup function for hash tables with USER_STATS entries */
|
/* Lookup function for hash tables with USER_STATS entries */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user