• timour@mysql.com's avatar
    Final patch for BUG#4285. · 7fb0de20
    timour@mysql.com authored
    This patch collects all previous patches into one.
    
    The main problem was due to that there is are two variables -
    dflt_key_cache and sql_key_cache with have more or less duplicate
    function. The reson for the bug was that the default value in the key
    cache hash was set to dflt_key_cache, then sql_key_cache was set to a
    new key cache object, and then dflt_key_cache was set to sql_key_cache
    which was different from the dflt_key_cache_var. After sending SIGHUP,
    the server was using the original default value for the key cache hash,
    which was different from the actual key cache object used for the
    default key cache.
    7fb0de20
mysqld.cc 231 KB