• Davi Arnaut's avatar
    Bug#33899: Deadlock in mysql_real_query with shared memory connections · 7c261213
    Davi Arnaut authored
    The problem is that the read and write methods of the shared
    memory transport (protocol) didn't react to asynchornous close
    events, which could lead to a lock up as the client would wait
    (until time out) for a server response that will never come.
    
    The solution is to also wait for close events while waiting
    for I/O from or to the server.
    
    Bug report and patch submitted by: Armin Schöffmann
    7c261213
shm.result 56 KB