summaryrefslogtreecommitdiff
path: root/sql/structs.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2014-08-25 09:51:46 +0200
committerSergei Golubchik <serg@mariadb.org>2014-10-11 18:53:04 +0200
commit3f7cc414fed92228c37fd75fcee62ca4e2a170ed (patch)
treeebd2206d5ee28eb97f60bc1e5557b64b7bb3d197 /sql/structs.h
parent534cbc1f2affb2953f3ad988b027e5bc116de0eb (diff)
downloadmariadb-git-3f7cc414fed92228c37fd75fcee62ca4e2a170ed.tar.gz
cleanup: remove dead code
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'