• unknown's avatar
    BUG#27560: Memory usage of mysqld grows while doing nothing · f9315b16
    unknown authored
      
    The query-cache watch thread was continually allocating new thread entries on the
    THD MEM_ROOT, not freed until server exit.
      
    Fixed by using a simple array, auto-expanded as necessary.
    
    
    sql/ha_ndbcluster.cc:
      Use a fixed array (auto-expanded as necessary) for temporary copy of open shares,
      don't keep pushing list entries on the THD mem root.
    f9315b16
ha_ndbcluster.cc 235 KB