• unknown's avatar
    Correction of fix for bug #12280 "Triggers: crash if flush tables". · 9017addf
    unknown authored
    We should not assume that "thd" argument of reload_acl_and_cache() is
    non-zero. Failure to do so will cause server to crash when one sends
    SIGHUP to it.
    
    
    sql/sql_parse.cc:
      reload_acl_and_cache():
        When we call this function from SIGHUP handler we pass 0 as "thd" argument
        to it. So we should not assume that thd is non-zero in it.
    9017addf
sql_parse.cc 214 KB