summaryrefslogtreecommitdiff
path: root/storage/perfschema/pfs_events_waits.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/perfschema/pfs_events_waits.cc')
-rw-r--r--storage/perfschema/pfs_events_waits.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/storage/perfschema/pfs_events_waits.cc b/storage/perfschema/pfs_events_waits.cc
index 2ee9ec292a2..c8a9d20a2f1 100644
--- a/storage/perfschema/pfs_events_waits.cc
+++ b/storage/perfschema/pfs_events_waits.cc
@@ -230,16 +230,6 @@ void reset_events_waits_by_host()
}
}
-/** Reset table EVENTS_WAITS_GLOBAL_BY_EVENT_NAME data. */
-void reset_events_waits_global()
-{
- PFS_single_stat *stat= global_instr_class_waits_array;
- PFS_single_stat *stat_last= global_instr_class_waits_array + wait_class_max;
-
- for ( ; stat < stat_last; stat++)
- stat->reset();
-}
-
void reset_table_waits_by_table()
{
PFS_table_share *pfs= table_share_array;