• Davi Arnaut's avatar
    Bug#40264: Aborted cached query causes query to hang indefinitely on next cache hit · 6a834d1f
    Davi Arnaut authored
    The problem is that the query cache was storing partial results
    if the statement failed when sending the results to the client.
    This could cause clients to hang when trying to read the results
    from the cache as they would, for example, wait indefinitely for
    a eof packet that wasn't saved.
    
    The solution is to always discard the caching of a query that
    failed to send its results to the associated client.
    6a834d1f
sql_cache.cc 132 KB