summaryrefslogtreecommitdiff
path: root/sql/structs.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/structs.h')
-rw-r--r--sql/structs.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/sql/structs.h b/sql/structs.h
index d02301e4350..2fd759767ca 100644
--- a/sql/structs.h
+++ b/sql/structs.h
@@ -338,33 +338,6 @@ init_user_stats(USER_STATS *user_stats,
ulonglong access_denied_errors,
ulonglong empty_queries);
-/* Increment values of an instance of USER_STATS */
-extern void
-add_user_stats(USER_STATS *user_stats,
- uint total_connections,
- uint concurrent_connections,
- time_t connected_time,
- double busy_time,
- double cpu_time,
- ulonglong bytes_received,
- ulonglong bytes_sent,
- ulonglong binlog_bytes_written,
- ha_rows rows_sent,
- ha_rows rows_read,
- ha_rows rows_inserted,
- ha_rows rows_deleted,
- ha_rows rows_updated,
- ulonglong select_commands,
- ulonglong update_commands,
- ulonglong other_commands,
- ulonglong commit_trans,
- ulonglong rollback_trans,
- ulonglong denied_connections,
- ulonglong lost_connections,
- ulonglong max_statement_time_exceeded,
- ulonglong access_denied_errors,
- ulonglong empty_queries);
-
typedef struct st_table_stats
{
char table[NAME_LEN * 2 + 2]; // [db] + '\0' + [table] + '\0'