• anozdrin/alik@station.'s avatar
    Fix for BUG#31148: bool close_thread_table(THD*, TABLE**): · 9a6f6731
    anozdrin/alik@station. authored
    Assertion `table->key_read == 0' failed.
    
    The problem was that key_read on a table in a sub-select was not
    properly reset. That happens because the code responsible for that
    is copy&pasted all around the server. In some place, it was obviously
    forgotten to be pasted.
    
    The fix is to reset key_read properly.
    9a6f6731
sql_select.cc 518 KB