List:Commits« Previous MessageNext Message »
From:Christopher Powers Date:February 20 2012 9:12pm
Subject:bzr push into mysql-trunk-wl5259 branch (chris.powers:3386 to 3387) WL#5259
View as plain text  
 3387 Christopher Powers	2012-02-20
      WL#5259 PERFORMANCE_SCHEMA host cache
      
      Change table_host_cache::materialize() to handle circularly linked host cache.

    modified:
      storage/perfschema/table_host_cache.cc
 3386 Christopher Powers	2012-02-20
      WL#5259 PERFORMANCE_SCHEMA host cache
      
      Change table_host_cache::materialize() to handle circularly linked host cache

    modified:
      storage/perfschema/table_host_cache.cc
=== modified file 'storage/perfschema/table_host_cache.cc'
--- a/storage/perfschema/table_host_cache.cc	2012-02-20 20:55:15 +0000
+++ b/storage/perfschema/table_host_cache.cc	2012-02-20 21:10:16 +0000
@@ -226,6 +226,8 @@ table_host_cache::table_host_cache()
 
 void table_host_cache::materialize(THD *thd)
 {
+  Host_entry *current;
+  Host_entry *first;
   uint size;
   uint index;
   row_host_cache *rows;
@@ -253,8 +255,8 @@ void table_host_cache::materialize(THD *
   index= 0;
   row= rows;
 
-  Host_entry *first= hostname_cache_first();
-  Host_entry *current= first;
+  first= hostname_cache_first();
+  current= first;
 
   while ((current != NULL) && (index < size))
   {

No bundle (reason: useless for push emails).
Thread
bzr push into mysql-trunk-wl5259 branch (chris.powers:3386 to 3387) WL#5259Christopher Powers21 Feb