• thek@adventure.(none)'s avatar
    Bug#25175 Too much memory used by MySQL grant system · cee1b1fd
    thek@adventure.(none) authored
    Each time the server reloads privileges containing table grants, the 
    system will allocate too much memory than needed because of badly
    chosen growth prediction in the underlying dynamic arrays.
    
    This patch introduces a new signature to the hash container initializer
    which enables a much more pessimistic approach in favour for more
    efficient memory useage.
    
    This patch was supplied by Google Inc.
    cee1b1fd
hash.h 2.81 KB