• Rucha Deodhar's avatar
    MDEV-23836: Assertion `! is_set() || m_can_overwrite_status' in · 81e00485
    Rucha Deodhar authored
    Diagnostics_area::set_error_status (interrupted ALTER TABLE under LOCK)
    
    Analysis: KILL_QUERY is not ignored when local memory used exceeds maximum
    session memory. Hence the query proceeds, OK is sent and we end up
    reopening tables that are marked for reopen. During this, kill status is
    eventually checked and assertion failure happens during trying to send error
    message because OK has already been sent.
    Fix: Ok is already sent so statement has already executed. It is too
    late to give error. So ignore kill.
    81e00485
alter_table.result 115 KB