• Davi Arnaut's avatar
    Bug#47525: MySQL crashed (Federated) · d941a1f3
    Davi Arnaut authored
    On Mac OS X or Windows, sending a SIGHUP to the server or a
    asynchronous flush (triggered by flush_time), would cause the
    server to crash.
    
    The problem was that a hook used to detach client API handles
    wasn't prepared to handle cases where the thread does not have
    a associated session.
    
    The solution is to verify whether the thread has a associated
    session before trying to detach a handle.
    d941a1f3
federated_debug.test 991 Bytes