• Ramil Kalimullin's avatar
    Fix for bug#11758931 - 51196: SLAVE SQL: GOT AN ERROR WRITING · 2a21a662
    Ramil Kalimullin authored
    COMMUNICATION PACKETS, ERROR_CODE: 1160
    
    If idle FEDERATED table is evicted from the table cache when 
    a connection to remote server is lost, query that initiated 
    eviction may fail.
    If this query is executed by slave SQL thread it may fail as well.
    
    An error of close was stored in diagnostics area, which was later
    attributed to the statement that caused eviction.
    
    With this patch FEDERATED clears an error of close.
    2a21a662
ha_federated.cc 102 KB