summaryrefslogtreecommitdiff
path: root/storage/perfschema/table_host_cache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/perfschema/table_host_cache.cc')
-rw-r--r--storage/perfschema/table_host_cache.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/storage/perfschema/table_host_cache.cc b/storage/perfschema/table_host_cache.cc
index d243204ddcd..9c44a1fe235 100644
--- a/storage/perfschema/table_host_cache.cc
+++ b/storage/perfschema/table_host_cache.cc
@@ -266,9 +266,6 @@ void table_host_cache::materialize(THD *thd)
index++;
row++;
current= current->next();
- /* Host cache is a circular linked list. */
- if (current == first)
- break;
}
m_all_rows= rows;