summaryrefslogtreecommitdiff
path: root/storage/perfschema/table_ews_by_user_by_event_name.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/perfschema/table_ews_by_user_by_event_name.h')
-rw-r--r--storage/perfschema/table_ews_by_user_by_event_name.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/storage/perfschema/table_ews_by_user_by_event_name.h b/storage/perfschema/table_ews_by_user_by_event_name.h
index f4f29534be4..b088c8e2015 100644
--- a/storage/perfschema/table_ews_by_user_by_event_name.h
+++ b/storage/perfschema/table_ews_by_user_by_event_name.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2.0,
@@ -75,9 +75,6 @@ struct pos_ews_by_user_by_event_name
m_index_3= 1;
}
- inline bool has_more_user(void)
- { return (m_index_1 < user_max); }
-
inline void next_user(void)
{
m_index_1++;
@@ -103,6 +100,7 @@ public:
static PFS_engine_table_share m_share;
static PFS_engine_table* create();
static int delete_all_rows();
+ static ha_rows get_row_count();
virtual int rnd_next();
virtual int rnd_pos(const void *pos);